Author: jfrederic.clere(a)jboss.com
Date: 2008-11-27 12:31:57 -0500 (Thu, 27 Nov 2008)
New Revision: 2078
Modified:
trunk/mod_cluster/test/java/build.xml
Log:
Add the call to httpd installation and start.
Modified: trunk/mod_cluster/test/java/build.xml
===================================================================
--- trunk/mod_cluster/test/java/build.xml 2008-11-27 16:57:06 UTC (rev 2077)
+++ trunk/mod_cluster/test/java/build.xml 2008-11-27 17:31:57 UTC (rev 2078)
@@ -89,7 +89,23 @@
</target>
- <target name="all" depends="compile">
+ <!-- Download and install httpd -->
+ <target name="testhttpd">
+ <available file="${base.path}/opt/jboss/httpd/sbin/apachectl"
property="exist"/>
+ </target>
+ <target name="installhttpd" unless="exist"
depends="testhttpd">
+ <exec executable="bash">
+ <arg value="installhttpd.sh"/>
+ </exec>
+ </target>
+ <target name="httpd" depends="installhttpd">
+ <exec executable="${base.path}/opt/jboss/httpd/sbin/apachectl">
+ <arg value="start"/>
+ </exec>
+ </target>
+
+ <!-- Run the tests -->
+ <target name="all" depends="compile,httpd">
<copy file="conf/web.xml" todir="${test.classes}/conf"/>
<java dir="${test.classes}" classname="${test.runner}"
fork="yes" failonerror="${test.failonerror}">
<arg value="org.jboss.mod_cluster.Maintest"/>
Show replies by date