[jboss-cvs] JBossAS SVN: r62856 - trunk/ejb3.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 8 04:13:41 EDT 2007


Author: wolfc
Date: 2007-05-08 04:13:41 -0400 (Tue, 08 May 2007)
New Revision: 62856

Modified:
   trunk/ejb3/build-test.xml
Log:
Using server:start and server:stop (wip)

Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml	2007-05-08 06:12:34 UTC (rev 62855)
+++ trunk/ejb3/build-test.xml	2007-05-08 08:13:41 UTC (rev 62856)
@@ -16,7 +16,8 @@
 <!-- $Id$ -->
 
 
-<project default="main" name="JBoss/EJB3 Tests">
+<project default="main" name="JBoss/EJB3 Tests"
+   xmlns:server="http://jboss.org/ns/test/ant/server">
    <import file="../tools/etc/buildmagic/build-common.xml"/>
    &libraries;
    &modules;
@@ -3834,14 +3835,9 @@
    </target>
 
    <target name="ejb-tests" depends="init" description="Execute all tests">
-
-      <start-jboss conf="all" host="${node0}" jvmargs="-Xmx256M"/>
-      <wait-on-host/>
-
+      <server:start name="all"/>
       <antcall target="no-start-jboss-ejb-tests" inheritRefs="true"/>
-
-      <stop-jboss/>
-      <wait-on-shutdown conf="all"/>
+      <server:stop name="all"/>
    </target>
 
    <target name="start-stop-test" depends="init" description="Start and stop JBoss">
@@ -4080,13 +4076,11 @@
 
    <target name="entity-tests" depends="init" description="Execute all tests">
 
-      <start-jboss conf="all" host="${node0}" jvmargs="-Xmx128M"/>
-      <wait-on-host/>
+      <server:start name="all"/>
 
       <antcall target="no-start-jboss-entity-tests" inheritRefs="true"/>
 
-      <stop-jboss/>
-      <wait-on-shutdown conf="all"/>
+      <server:stop name="all"/>
    </target>
 
    <target name="no-start-jboss-entity-tests" depends="init" description="Execute all tests">
@@ -4530,6 +4524,6 @@
    </target>
    
    <target name="stop-jboss">
-      <stop-jboss/>
+      <server:stop name="all"/>
    </target>
 </project>




More information about the jboss-cvs-commits mailing list