summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlen Stampoultzis <glens@apache.org>2003-05-17 05:43:08 +0000
committerGlen Stampoultzis <glens@apache.org>2003-05-17 05:43:08 +0000
commit5ec4ed341b60aa13ec28ff2d7000c9fe8ea976c0 (patch)
treea43c20a8949dfdbcb891c6217039a4efcd038b6c
parent04ae0328669cad690b6e699d1d6cb41dfdc5bf5b (diff)
downloadpoi-5ec4ed341b60aa13ec28ff2d7000c9fe8ea976c0.tar.gz
poi-5ec4ed341b60aa13ec28ff2d7000c9fe8ea976c0.zip
Fixes to bin distributions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353102 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 926bdd21e5..0ed314e0bf 100644
--- a/build.xml
+++ b/build.xml
@@ -16,6 +16,9 @@
xerces http://www.ibiblio.org/maven/xerces/jars/
jdepend http://www.ibiblio.org/maven/jdepend/jars/
+ The ant jar "optional.jar" should also be available otherwise the
+ build will fail.
+
To build the documentation you will need to install forrest and set
the FORREST_HOME environment variable.
@@ -79,7 +82,7 @@
<property name="changelog.file" value="${build.site}/changelog.html"/>
<property name="dist.dir" value="build/dist"/>
<property name="jar.name" value="poi"/>
- <property name="version.id" value="1.10.0-dev"/>
+ <property name="version.id" value="2.0-pre1"/>
<property name="halt.on.test.failure" value="true"/>
<path id="main.classpath">
@@ -525,9 +528,10 @@
<zip destfile="${dist.dir}/${jar.name}-bin-${version.id}-${DSTAMP}.zip">
<zipfileset dir="${build.site}" prefix="docs"/>
- <zipfileset file="${dist.dir}/${jar.name}-${version.id}.jar"/>
- <zipfileset file="${dist.dir}/${jar.name}-contrib-${version.id}.jar"/>
- <zipfileset file="${dist.dir}/${jar.name}-scratchpad-${version.id}.jar"/>
+ <zipfileset file="${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar"/>
+ <zipfileset file="${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar"/>
+ <zipfileset file="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar"/>
+ <zipfileset dir="legal" prefix="legal"/>
</zip>
<zip destfile="${dist.dir}/${jar.name}-src-${version.id}-${DSTAMP}.zip">
@@ -546,6 +550,7 @@
<tarfileset file="${dist.dir}/${jar.name}-${version.id}.jar"/>
<tarfileset file="${dist.dir}/${jar.name}-contrib-${version.id}.jar"/>
<tarfileset file="${dist.dir}/${jar.name}-scratchpad-${version.id}.jar"/>
+ <tarfileset dir="legal" prefix="legal"/>
</tar>
<tar destfile="${dist.dir}/${jar.name}-src-${version.id}-${DSTAMP}.tar.gz" compression="gzip">