Fixed a small bug in the 3.x and 3.0 ant build files. 3.0
authorMarco Zanon <info@marcozanon.com>
Fri, 2 Aug 2013 14:05:58 +0000 (14:05 +0000)
committerMarco Zanon <info@marcozanon.com>
Fri, 2 Aug 2013 14:05:58 +0000 (14:05 +0000)
build.xml

index 0d6ce3284552a8dfa3750b541fc194711f8d8855..bb5278e6969598cf010a8ff46739eb7c0369f42d 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -10,7 +10,7 @@
         <tar compression="gzip" destfile="target/${ant.project.name}.tar.gz" basedir="." excludes="target/" />
     </target>
 
-    <target name="compile" description="Compiles .java source code to .class bytecode.">
+    <target name="compile" depends="clean" description="Compiles .java source code to .class bytecode.">
         <mkdir dir="target/classes/" />
         <javac srcdir="src/java/" destdir="target/classes/">
             <compilerarg value="-Xlint" />