[jboss-svn-commits] JBL Code SVN: r11851 - labs/jbossesb/trunk/product/samples/quickstarts/tests.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue May 15 08:50:21 EDT 2007


Author: tcunning
Date: 2007-05-15 08:50:21 -0400 (Tue, 15 May 2007)
New Revision: 11851

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/tests/build.xml
Log:
Only copy the quickstarts.properties over if one doesn't exist.


Modified: labs/jbossesb/trunk/product/samples/quickstarts/tests/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/tests/build.xml	2007-05-15 12:37:00 UTC (rev 11850)
+++ labs/jbossesb/trunk/product/samples/quickstarts/tests/build.xml	2007-05-15 12:50:21 UTC (rev 11851)
@@ -56,7 +56,16 @@
    <target name="test" depends="compile, prompt, execute"/>
    <target name="ci-test" depends="compile, execute"/>
 
-   <target name="compile" depends="compile-esb">
+   <target name="test-properties">
+	<available file="../conf/quickstarts.properties"
+		property="quickstart.props.present"/>
+   </target>
+
+   <target name="copy-properties" unless="quickstart.props.present">
+	<copy file="quickstarts.properties" todir="../conf"/>
+   </target>
+
+   <target name="compile" depends="compile-esb,test-properties,copy-properties">
       <echo message="Compiling JUnit based Quickstart tests..."/>
 
       <echo message="${toString:qa.junit.cp}"/>




More information about the jboss-svn-commits mailing list