PDA

View Full Version : Blocking command line compile



timbojones
04-21-2006, 05:11 PM
Currently if I call "sbuilder.exe /C [project].sb5", sbuilder returns immediately, compiling in the background. I would love an option to make sbuilder block while compilation is in progress, returning control to my batch script only when finished so I can conclusively say "Installer is ready for deployment."

Any plans to support this? Alternately, do you know any esoteric command line chicanery to work around it?

timbojones
04-29-2006, 01:49 PM
Never mind, this appears to be working fine.

linder
05-02-2006, 03:12 AM
Thanks for the update!

LoboMgr
06-07-2006, 03:48 PM
Can you please post the fix for command line compiling to wait before returning? Thx.

Also, is a log file generated to indicate compile success or problems/failure?

timbojones
06-07-2006, 04:07 PM
A log file is generated in the directory with sbuilder.exe. I sure wish Linder would fix this:

a) Output on stderr/stdout would be much more useful and discoverable
b) Writing files to your program directory breaks when the user is not running as an Administrator.

NewsArchive
06-07-2006, 11:48 PM
Hmm, there is no known bug in this task. SB5 returns after it has finished. We are using this feature in all of our projects.

LoboMgr
06-08-2006, 08:28 AM
Hmmm... maybe it's just so fast that it returns in 2 secs! I'll check it out. Thx.

linder
06-08-2006, 08:38 AM
Please let me know what you find. To be on the safe side, I have tested this on clean Windows XP SP2 and Windows 2003 machines. SB5 compiled the script and then returned.

Thanks,

timbojones
06-20-2006, 04:19 PM
Hmm... What I find is that if I run SetupBuilder in a batch file, it returns when compilation is complete. If I run SetupBuilder straight from the command line, it returns immediately and continues to process in the background.