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

"Nathan Carbino" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <F73F6CC9617C5C44A8B70DB0F59A813D012EF158@TUS1XCHCLUPIN21.enterprise.veritas.com>
You might try redirecting output?

args="/C bds.exe -b -pDelphi project1.bdsproj 1>nul 2>nul" might work.

-----Original Message-----
From: Grzeslo, Krzysztof [mailto:[email protected]] 
Sent: Friday, January 21, 2011 8:29 AM
To: [email protected]
Subject: [Cruisecontrol-user] usage of bds.exe to build delphi projects
on awindows machine

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
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
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.