usage of bds.exe to build delphi projects on a windows machine

"Grzeslo, Krzysztof" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello Everybody,

I'm writing to a newsgroup, because research in Internet did not help me to find any solution for my problem for a couple of months.

I am trying to build executable using the following command in the config:

<composite timeout="300">
<exec workingdir="path/to/project1" command="cmd.exe" args="/C bds.exe -b -pDelphi project1.bdsproj" />
</composite>

When I run the command:

bds.exe -b -pDelphi project1.bdsproj

from commandline manually it produces executable. When it runs as a build in Cruisecontrol config looks like the build does nothing. Moreover, this project seems to be kind of infinite loop in cruisecontrol even though the composite has a timeout property set to 5 minutes and does not stop after that time.

Unfortunately running the above command in a command line does not produce any output to stdout, therefore it is hard to debug and find out what the problem is. 

As I checked the memory usage while running manually it uses about 100-200 MB RAM, while the same project in cruisecontrol only 3-5 MB.

Did anybody try to use bds.exe to build delphi project? I have already tried to use as a workaround dcc32.exe with arguments, but keeping settings in dcc32.cfg that all developers use for this project exact same and build with all needed Delphi components failed. Therefore We decided to use bds.exe, as it is far easier to build with such a short command and it produces the correct executable in each environment.

I would apprecieate any comments from those that already built any projects with bds.exe and cruisecontrol, and from anybody that might have interesting ideas how implement this soution.

Development environment:
Windows XP SP3
Delphi 10, Borland Developer Studio 4.0
Cruisecontrol 2.8.3

Thanks,
Krzysztof

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.