Author: tom.baeyens(a)jboss.com
Date: 2009-02-18 10:12:18 -0500 (Wed, 18 Feb 2009)
New Revision: 3926
Modified:
jbpm4/trunk/hudson/ant.properties.example
jbpm4/trunk/hudson/build.xml
Log:
made catalina.executable configurable in the hudson ant scripts to add support for
windows
Modified: jbpm4/trunk/hudson/ant.properties.example
===================================================================
--- jbpm4/trunk/hudson/ant.properties.example 2009-02-18 14:16:55 UTC (rev 3925)
+++ jbpm4/trunk/hudson/ant.properties.example 2009-02-18 15:12:18 UTC (rev 3926)
@@ -18,6 +18,8 @@
hudson.username=changeme
hudson.password=changeme
+catalina.executable=catalina.sh
+
hudson.maven.path=/usr/java/apache-maven-2.0.9
hudson.root=/home/hudson/workspace
Modified: jbpm4/trunk/hudson/build.xml
===================================================================
--- jbpm4/trunk/hudson/build.xml 2009-02-18 14:16:55 UTC (rev 3925)
+++ jbpm4/trunk/hudson/build.xml 2009-02-18 15:12:18 UTC (rev 3926)
@@ -173,7 +173,7 @@
<target name="hudson-stop" depends="init-hudson"
description="Stops the Hudson QA environment">
- <exec executable="${hudson.tomcat}/bin/catalina.sh"
failonerror="true">
+ <exec executable="${hudson.tomcat}/bin/${catalina.executable}"
failonerror="true">
<arg line="stop"/>
</exec>
@@ -191,7 +191,7 @@
<property environment="env"/>
<fail message="unset JBOSS_REPOSITORY=${env.JBOSS_REPOSITORY}"
if="env.JBOSS_REPOSITORY"/>
- <exec executable="${hudson.tomcat}/bin/catalina.sh"
failonerror="true" output="${hudson.target.dir}/hudson.log">
+ <exec executable="${hudson.tomcat}/bin/${catalina.executable}"
failonerror="true" output="${hudson.target.dir}/hudson.log">
<env key="CATALINA_OPTS" value="-Xmx512m
-Djava.awt.headless=true"/>
<arg line="start"/>
</exec>
Show replies by date