[jboss-cvs] JBossAS SVN: r97431 - projects/jboss-jca/trunk.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 3 16:03:31 EST 2009


Author: jesper.pedersen
Date: 2009-12-03 16:03:31 -0500 (Thu, 03 Dec 2009)
New Revision: 97431

Modified:
   projects/jboss-jca/trunk/build.xml
Log:
Let -Dmodule decide which module to execute the test in - default to core

Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml	2009-12-03 19:38:38 UTC (rev 97430)
+++ projects/jboss-jca/trunk/build.xml	2009-12-03 21:03:31 UTC (rev 97431)
@@ -255,10 +255,11 @@
        Target: one-test
        ================================= -->
   <target name="one-test" depends="jars">
-  <!-- we should refactor this to make one-test target can be run on the component build.xml
-    <ant dir="core" inheritRefs="true" target="one-test"/>
-   -->
-    <ant dir="embedded" inheritRefs="true" target="one-test"/>
+    <condition property="module" else="core">
+      <equals arg1="${module}" arg2="" trim="true"/> 
+    </condition>
+
+    <ant dir="${module}" inheritRefs="true" target="one-test"/>
   </target>
 
   <!-- ================================= 




More information about the jboss-cvs-commits mailing list