Add in a clean step before compile in dist

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@524881 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2007-04-02 18:32:12 +00:00
parent 51840d63ad
commit b06e1f33cb

View File

@ -807,7 +807,7 @@ FORREST_HOME environment variable!</echo>
description="Generates POI's website's contents"/> 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 --> <!-- Build a Jar of all the class files -->
<jar destfile="${mavendist.dir}/${jar.name}-${version.id}.jar"> <jar destfile="${mavendist.dir}/${jar.name}-${version.id}.jar">
<manifest> <manifest>
@ -904,8 +904,8 @@ FORREST_HOME environment variable!</echo>
</jar> </jar>
</target> </target>
<target name="dist" depends="fail-unless-tools-are-available, compile, site, jar" <target name="dist" depends="clean, fail-unless-tools-are-available, compile, site, jar"
description="Creates the entire distribution into build/dist"> description="Creates the entire distribution into build/dist, from scratch">
<property name="zipdir" value="${jar.name}-${version.id}" /> <property name="zipdir" value="${jar.name}-${version.id}" />