minor improvements in build.xml, also fixed indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712389 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2008-11-08 13:21:42 +00:00
parent fb53e42579
commit 726a77f418
1 changed files with 13 additions and 15 deletions

View File

@ -197,7 +197,7 @@ under the License.
<path id="ooxml.classpath">
<path refid="main.classpath"/>
<path refid="scratchpad.classpath"/>
<pathelement location="${main.output.dir}"/>
<pathelement location="${scratchpad.output.dir}"/>
<fileset dir="${ooxml.lib}">
<include name="*.jar" />
@ -1121,7 +1121,7 @@ FORREST_HOME environment variable!</echo>
description="Generates POI's website's contents"/>
<target name="maven-dist" depends="jar,jar-ooxml" description="Builds the POM files for a maven distribution, and copies these and the jars to the appropriate locations">
<target name="maven-dist" depends="jar" description="Builds the POM files for a maven distribution, and copies these and the jars to the appropriate locations">
<!-- Copy the jar files into the maven jar directory -->
<!-- Same jars as for the main release, only lacking the datestamp -->
<copy
@ -1263,7 +1263,7 @@ FORREST_HOME environment variable!</echo>
</copy>
</target>
<target name="jar" depends="compile, compile-version, jar-ooxml" description="Creates jar files for distribution">
<target name="jar" depends="compile, compile-version" description="Creates jar files for distribution">
<jar destfile="${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar">
<fileset dir="${main.output.dir}" />
<fileset dir="legal/" />
@ -1303,8 +1303,6 @@ FORREST_HOME environment variable!</echo>
<attribute name="Implementation-Vendor" value="Apache"/>
</manifest>
</jar>
</target>
<target name="jar-ooxml" depends="compile-ooxml" description="Creates the ooxml jar files for distribution">
<jar destfile="${dist.dir}/${jar.name}-ooxml-${version.id}-${DSTAMP}.jar">
<fileset dir="${ooxml.output.dir}" />
<fileset dir="legal/" />
@ -1320,7 +1318,7 @@ FORREST_HOME environment variable!</echo>
</jar>
</target>
<target name="dist" depends="clean, fail-unless-tools-are-available, compile, site, jar, jar-ooxml"
<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}" />