From: Dominik G. <os...@gu...> - 2012-01-27 01:12:47
|
Am 26.01.2012 20:30, schrieb Quince, Devin: > <targetname="QA-Install"> > <exec workingdir="c:\DLS\"basedir="c:\DLS\"program="ChainInstalls.bat"> > </exec> > </target> > > And the batch file that is being called by chaininstalls.bat file is this > > cd c:\DLS > > java -Dfelix.config.properties=file:conf/config.properties > -Dtroppus.http.jetty.resource.base="c:/DLS" > -Dlogback.configurationFile="c:/DLS/conf/logback.xml" > -Dlogback.logfile.path="%APPDATA%/Troppus Software/Digital LifeSupport" > -Dtroppus.oesis.config.path="c:/DLS/OesisSupport_3_5/bin/release" > -Dcom.jacob.autogc=true -jar bin/felix.jar "%APPDATA%/Troppus > Software/Digital LifeSupport/felixcache" > > > Any ideas on how to get this task to return back to the script, so I can > execute the next task? Hi Devin, I have two proposals: a) use cmd /c by your own: <exec program='cmd.exe' commandline='/C "c:\DLS\ChainInstalls.bat"' /> b) drop your own bat file (if noone else need it) <exec program="java.exe" workingdir="c:\DLS\" > <arg value='-Dfelix.config.properties=file:conf/config.properties' /> <arg value='-Dtroppus.http.jetty.resource.base=c:/DLS' /> <arg value='-Dlogback.configurationFile=c:/DLS/conf/logback.xml' /> <arg value='-Dlogback.logfile.path="%APPDATA%/Troppus Software/Digital LifeSupport"' /> <arg value='-Dtroppus.oesis.config.path=c:/DLS/OesisSupport_3_5/bin/release' /> <arg value='-Dcom.jacob.autogc=true' /> <arg value='-jar bin/felix.jar' /> <arg value='"%APPDATA%/Troppus Software/Digital LifeSupport/felixcache"' /> </exec> hth Dominik -- The answer to the great question of life, the universe and everything is 42 (Douglas Adams) |