svn commit: r165611 - /ant/antlibs/common/trunk/build.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit: r165611 - /ant/antlibs/common/trunk/build.xml

Stefan Bodewig
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: [hidden email]
For additional commands, e-mail: [hidden email]


Loading...