You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/02/02 13:19:59 UTC

svn commit: r905604 - /tomcat/trunk/build.xml

Author: markt
Date: Tue Feb  2 12:19:58 2010
New Revision: 905604

URL: http://svn.apache.org/viewvc?rev=905604&view=rev
Log:
Clean and create dirs in right order so we have temp dir else strange things start to go wrong

Modified:
    tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=905604&r1=905603&r2=905604&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Tue Feb  2 12:19:58 2010
@@ -293,6 +293,10 @@
   	<!-- Required so we can compile -->
     <mkdir dir="${tomcat.classes}"/>
 
+    <!-- Ensure these directories are removed every time we re-build -->
+    <delete dir="${tomcat.build}/temp" />
+    <delete dir="${tomcat.build}/work" />
+
   	<!-- Minimum dirs needed for a working Tomcat instance -->
     <mkdir dir="${tomcat.build}"/>
     <mkdir dir="${tomcat.build}/bin"/>
@@ -302,10 +306,6 @@
     <mkdir dir="${tomcat.build}/temp"/>
     <mkdir dir="${tomcat.build}/webapps"/>
 
-    <!-- Ensure these directories are removed every time we re-build -->
-    <delete dir="${tomcat.build}/temp" />
-    <delete dir="${tomcat.build}/work" />
-
   </target>
 
   <target name="compile" depends="build-prepare">



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