[jboss-svn-commits] JBL Code SVN: r37418 - labs/jbosstm/trunk/qa.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Aug 16 11:02:25 EDT 2011


Author: tomjenkinson
Date: 2011-08-16 11:02:25 -0400 (Tue, 16 Aug 2011)
New Revision: 37418

Modified:
   labs/jbosstm/trunk/qa/build.xml
Log:
updated to make sure we are not deleting the dbdrivers

Modified: labs/jbosstm/trunk/qa/build.xml
===================================================================
--- labs/jbosstm/trunk/qa/build.xml	2011-08-16 10:23:07 UTC (rev 37417)
+++ labs/jbosstm/trunk/qa/build.xml	2011-08-16 15:02:25 UTC (rev 37418)
@@ -37,7 +37,7 @@
   <property name="driver.url" value="http://www.qa.jboss.com/jdbc-drivers/"/>
   <property name="org.jboss.jbossts.qa.server_manager_location" location="ext/jboss-server-manager-0.1.1.GA.jar"/>
   <property name="org.jboss.jbossts.qa.dist.buildroot" location="build"/>
-  <target name="get.drivers">
+  <target name="get.drivers" depends="clean-dbdrivers">
     <!--
         https://docspace.corp.redhat.com/clearspace/docs/DOC-16080
         http://www.jboss.com/products/platforms/application/supportedconfigurations/
@@ -74,8 +74,12 @@
     </condition>
     <available file="${driver.home}" property="have.dbdrivers" value="true"/>
   </target>
-  <target name="clean">
-    <delete dir="dbdrivers"/>
+  <target name="clean-dbdrivers" unless="dbdrivers.cleaned">
+    <delete dir="${driver.home}"/>
+    <property name="dbdrivers.cleaned" value="true"/>
+  </target>
+  <target name="clean" depends="clean-tests,clean-dbdrivers"/>
+  <target name="clean-tests">
     <delete dir="PutObjectStoreDirHere"/>
     <delete dir="ObjectStore"/>
     <delete dir="testoutput"/>



More information about the jboss-svn-commits mailing list