[mod_cluster-commits] mod_cluster SVN: r807 - trunk/test/java.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Apr 12 03:04:29 EDT 2012


Author: jfrederic.clere at jboss.com
Date: 2012-04-12 03:04:28 -0400 (Thu, 12 Apr 2012)
New Revision: 807

Modified:
   trunk/test/java/build.xml
Log:
Fails the target if apachectl reports an error.


Modified: trunk/test/java/build.xml
===================================================================
--- trunk/test/java/build.xml	2012-04-12 06:33:04 UTC (rev 806)
+++ trunk/test/java/build.xml	2012-04-12 07:04:28 UTC (rev 807)
@@ -118,7 +118,7 @@
     <delete file="apache.bat"/>
     <copy file="apachectl.bat" tofile="apache.bat" />
     <replace file="apache.bat" token="@BASELOC@" value="${base.apache}"/>
-    <exec executable="${base.apache}/opt/jboss/httpd/sbin/apachectl" os="Linux,SunOS,HP-UX,Mac OS X">
+    <exec executable="${base.apache}/opt/jboss/httpd/sbin/apachectl" os="Linux,SunOS,HP-UX,Mac OS X" failonerror="true">
       <arg value="start"/>
     </exec>
     <exec executable="apache.bat" os="Windows 2003">
@@ -128,15 +128,15 @@
     <waitfor maxwait="30" maxwaitunit="second">
        <available file="${base.apache}/opt/jboss/httpd/sbin/apachectl"/>
     </waitfor>
-    <exec executable="apache.bat" os="Windows 2003">
+    <exec executable="apache.bat" os="Windows 2003" failonerror="true">
       <arg value="start"/>
     </exec>
   </target>
   <target name="stophttpd">
-    <exec executable="${base.apache}/opt/jboss/httpd/sbin/apachectl" os="Linux,SunOS,HP-UX,Mac OS X">
+    <exec executable="${base.apache}/opt/jboss/httpd/sbin/apachectl" os="Linux,SunOS,HP-UX,Mac OS X" failonerror="true">
       <arg value="stop"/>
     </exec>
-    <exec executable="apache.bat" os="Windows 2003">
+    <exec executable="apache.bat" os="Windows 2003" failonerror="true">
       <arg value="stop"/>
     </exec>
   </target>



More information about the mod_cluster-commits mailing list