ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r165611 - /ant/antlibs/common/trunk/build.xml
Date Mon, 02 May 2005 09:16:54 GMT
Author: bodewig
Date: Mon May  2 02:16:53 2005
New Revision: 165611

URL: http://svn.apache.org/viewcvs?rev=165611&view=rev
Log:
Better define the property build if you want to delete the directory in clean target

Modified:
    ant/antlibs/common/trunk/build.xml

Modified: ant/antlibs/common/trunk/build.xml
URL: http://svn.apache.org/viewcvs/ant/antlibs/common/trunk/build.xml?rev=165611&r1=165610&r2=165611&view=diff
==============================================================================
--- ant/antlibs/common/trunk/build.xml (original)
+++ ant/antlibs/common/trunk/build.xml Mon May  2 02:16:53 2005
@@ -16,12 +16,15 @@
 -->
 <project name="common">
 
-  <target name="setup">
+  <target name="setup-properties">
     <property name="build" value="build"/>
     <property name="build.classes" value="${build}/classes"/>
     <property name="build.testclasses" value="${build}/test-classes"/>
     <property name="build.lib" value="${build}/lib"/>
     <property name="jarname" value="${build.lib}/ant-${ant.project.name}.jar"/>
+  </target>
+
+  <target name="setup" depends="setup-properties">
     <mkdir dir="${build.classes}"/>
     <mkdir dir="${build.testclasses}"/>
     <mkdir dir="${build.lib}"/>
@@ -93,7 +96,7 @@
     <fail if="tests.failed">At least one test has failed.</fail>
   </target>
 
-  <target name="clean">
+  <target name="clean" depends="setup-properties">
     <delete dir="${build}"/>
   </target>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message