]> source.dussan.org Git - poi.git/commitdiff
Add in a clean step before compile in dist
authorNick Burch <nick@apache.org>
Mon, 2 Apr 2007 18:32:12 +0000 (18:32 +0000)
committerNick Burch <nick@apache.org>
Mon, 2 Apr 2007 18:32:12 +0000 (18:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@524881 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 3f56330cf0bc81314f99d12b0bd58a922c98fdd2..dedc4a71b389041a2829876edcfc4402dd64657e 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -807,7 +807,7 @@ FORREST_HOME environment variable!</echo>
       description="Generates POI's website's contents"/>
 
 
-    <target name="maven-dist" depends="compile" description="Builds the jar files for a maven distribution, and the POM to go with them">
+    <target name="maven-dist" depends="clean,compile" description="Builds the jar files for a maven distribution, and the POM to go with them">
                <!-- Build a Jar of all the class files -->
         <jar destfile="${mavendist.dir}/${jar.name}-${version.id}.jar">
             <manifest>
@@ -904,8 +904,8 @@ FORREST_HOME environment variable!</echo>
         </jar>
     </target>
 
-  <target name="dist" depends="fail-unless-tools-are-available, compile, site, jar"
-    description="Creates the entire distribution into build/dist">
+  <target name="dist" depends="clean, fail-unless-tools-are-available, compile, site, jar"
+    description="Creates the entire distribution into build/dist, from scratch">
 
        <property name="zipdir" value="${jar.name}-${version.id}" />