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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org