[Yanel-commits] rev 20563 - public/yanel/trunk/src/build

michi at wyona.com michi at wyona.com
Mon Dec 4 23:01:46 CET 2006


Author: michi
Date: 2006-12-04 23:01:45 +0100 (Mon, 04 Dec 2006)
New Revision: 20563

Modified:
   public/yanel/trunk/src/build/continuous-integration.xml
Log:
spawn true for Windows. Please see the note for explanation

Modified: public/yanel/trunk/src/build/continuous-integration.xml
===================================================================
--- public/yanel/trunk/src/build/continuous-integration.xml	2006-12-04 20:46:42 UTC (rev 20562)
+++ public/yanel/trunk/src/build/continuous-integration.xml	2006-12-04 22:01:45 UTC (rev 20563)
@@ -56,7 +56,8 @@
 
   <target name="startup-tomcat-windows-node1" if="isTomcat1HomeSet">
     <echo>Startup Tomcat Cluster Node 1: ${tomcat1.home.dir}/bin/startup.bat</echo>
-    <exec dir="${tomcat1.home.dir}/bin" resolveexecutable="true" executable="startup.bat" spawn="false"/>
+    <!-- NOTE: Spawn is true because otherwise the batch script will not continue beyond this call (This is only necessary for Windows) -->
+    <exec dir="${tomcat1.home.dir}/bin" resolveexecutable="true" executable="startup.bat" spawn="true"/>
   </target>
   <target name="startup-tomcat-unix-node1" if="isTomcat1HomeSet">
     <echo>Starting Tomcat (${tomcat1.home.dir}/bin/startup.sh) ...</echo>
@@ -64,7 +65,9 @@
     <exec dir="${tomcat1.home.dir}/bin" resolveexecutable="true" executable="startup.sh" spawn="false"/>
   </target>
   <target name="startup-tomcat-windows-node2" if="isTomcat2HomeSet">
-    <exec dir="${tomcat2.home.dir}/bin" resolveexecutable="true" executable="startup.bat" spawn="false"/>
+    <echo>Startup Tomcat Cluster Node 2: ${tomcat2.home.dir}/bin/startup.bat</echo>
+    <!-- NOTE: Spawn is true because otherwise the batch script will not continue beyond this call (This is only necessary for Windows) -->
+    <exec dir="${tomcat2.home.dir}/bin" resolveexecutable="true" executable="startup.bat" spawn="true"/>
   </target>
   <target name="startup-tomcat-unix-node2" if="isTomcat2HomeSet">
     <echo>Starting Tomcat (${tomcat2.home.dir}/bin/startup.sh) ...</echo>




More information about the Yanel-commits mailing list