[jboss-cvs] JBoss Messaging SVN: r2259 - in branches/Branch_1_0_1_SP/docs/examples: stateless and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 11 04:01:37 EST 2007


Author: ovidiu.feodorov at jboss.com
Date: 2007-02-11 04:01:35 -0500 (Sun, 11 Feb 2007)
New Revision: 2259

Modified:
   branches/Branch_1_0_1_SP/docs/examples/mdb-failure/build.xml
   branches/Branch_1_0_1_SP/docs/examples/stateless/build.xml
Log:
allowing for extra deployment/undeployment time

Modified: branches/Branch_1_0_1_SP/docs/examples/mdb-failure/build.xml
===================================================================
--- branches/Branch_1_0_1_SP/docs/examples/mdb-failure/build.xml	2007-02-11 02:16:32 UTC (rev 2258)
+++ branches/Branch_1_0_1_SP/docs/examples/mdb-failure/build.xml	2007-02-11 09:01:35 UTC (rev 2259)
@@ -17,6 +17,8 @@
         defaults for in-workarea testing and it's not meant for distribution with the example bundle.
    -->
    <property file="do-not-distribute.properties"/>
+   <property name="undeploy.quiet" value="false"/>
+   <property name="undeploy.failonerror" value="true"/>
 
    <!-- These properties may be overriden by calling ants when this example is used in a smoke test -->
    <property name="messaging.client.jar.path" value="../.."/>
@@ -102,7 +104,11 @@
 
    <target name="run" depends="deploy">
       <antcall target="send"/>
-      <antcall target="undeploy"/>
+      <antcall target="sleep"><param name="sleep.interval" value="15"/></antcall>
+      <antcall target="undeploy">
+         <param name="undeploy.quiet" value="false"/>
+         <param name="undeploy.failonerror" value="true"/>
+      </antcall>
    </target>
 
    <target name="send">
@@ -119,7 +125,8 @@
    </target>
 
    <target name="undeploy">
-      <delete file="${jboss.home}/server/${jboss.configuration}/deploy/mdb-failure-example.jar" quiet="true"/>
+      <delete file="${jboss.home}/server/${jboss.configuration}/deploy/mdb-failure-example.jar"
+              quiet="${undeploy.quiet}" failonerror="${undeploy.failonerror}"/>
    </target>
 
    <target name="clean" depends="undeploy">

Modified: branches/Branch_1_0_1_SP/docs/examples/stateless/build.xml
===================================================================
--- branches/Branch_1_0_1_SP/docs/examples/stateless/build.xml	2007-02-11 02:16:32 UTC (rev 2258)
+++ branches/Branch_1_0_1_SP/docs/examples/stateless/build.xml	2007-02-11 09:01:35 UTC (rev 2259)
@@ -87,7 +87,7 @@
    <target name="deploy" depends="jar">
       <copy file="./output/lib/stateless-example.jar"
             todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
-      <antcall target="sleep"><param name="sleep.interval" value="5"/></antcall>
+      <antcall target="sleep"><param name="sleep.interval" value="10"/></antcall>
    </target>
 
    <target name="run" depends="deploy">




More information about the jboss-cvs-commits mailing list