]> source.dussan.org Git - poi.git/commitdiff
Fixes to bin distributions
authorGlen Stampoultzis <glens@apache.org>
Sat, 17 May 2003 05:43:08 +0000 (05:43 +0000)
committerGlen Stampoultzis <glens@apache.org>
Sat, 17 May 2003 05:43:08 +0000 (05:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353102 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 926bdd21e51a4b86b3fffa88f18a9e1abfd557c1..0ed314e0bf7a2da12d67fdb39ad40744fcf5ba6f 100644 (file)
--- 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">
 
         <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">
             <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">