I am trying to get Hudson to work with my Delphi project. I use the following batch file to create my project (as suggested in this post):
call "C:\Program Files\Embarcadero\RAD Studio\8.0\bin\rsvars.bat" msbuild /p:Win32LibraryPath="$(BDS)\lib;$(BDS)\lib\win32\release;$(BDS)\lib\win32\debug;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include;" /t:build /p:config=Debug /verbosity:detailed "MyProject\src\MyProject.dproj" if errorlevel 1 exit 1
I always get an error
Embarcadero Delphi for Win32 compiler version 22.0 Copyright (c) 1983,2010 Embarcadero Technologies, Inc. Fatal: E2202 Required package 'rtl' not found
I do not understand this, because rtl.dcp is located in "$ (BDS) \ lib \ win32 \ release", which is located on the library path. By the way, I use runtime packages.
Any clues what can I do to solve this problem?
Edit It seems that the paths do not end on the command line, which looks something like this (after deleting the project-specific paths):
C:\Program Files\Embarcadero\RAD Studio\8.0\bin\dcc32.exe -$O- -$W+ --inline:off -$A4 -$R+ -$Q+ --doc --no-config -B -LUrtl;vcl;ReportingR;ComponentsR -Q -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG;CONSTRAINT_CHECKING;_VER6;EUREKALOG_VER6;EurekaLog -V -VN -GD --drc -W-SYMBOL_DEPRECATED -W-SYMBOL_PLATFORM -W-UNIT_PLATFORM -W-UNIT_DEPRECATED Myproject.dpr
source share