View Full Version : Command Line
NewsArchive
08-02-2005, 09:29 AM
Can a project be processed from the command line. It would be cool to
project run from a batch file, auto build and upload to the web site.
Don Harvey
NewsArchive
08-02-2005, 09:29 AM
Don,
Yes, this is a SB5 Developer Edition feature.
SBUILDER.EXE /C "C:\Development\Sample.sb5"
where:
SBUILDER.EXE is the path to the SetupBuilder 5 executable
"C:\Development\Sample.sb5" is the path to the project file you want to
compile
And you can even use the #run preprocessor ("Process after script
compilation") to launch an external tool to upload it to your web
site.
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
NewsArchive
08-04-2005, 04:52 AM
Thanks Friedrich
I am still missing something. My command line is
sbuilder.exe /c "C:\Premier2005\premierbackup.sb5"
The above just loads Setupbuilder but does not open/compile the
premierbackup.sb5 project. Is there some setting within the project that
also needs to be set.
NewsArchive
08-04-2005, 04:52 AM
Check case. Some command line options are case sensitive.
--
Russ Eggen
www.radfusion.com
NewsArchive
08-04-2005, 04:52 AM
Don,
Do you have build #1201? All our internal test scripts (~300) are compiled
via command line on a daily basis and it works fine.
And what Russ said. Please use /C instead of /c
Thanks,
Friedrich
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
NewsArchive
08-04-2005, 04:53 AM
Thanks, works great. I did not have build #1201.
Don Harvey
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.