aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2008-01-21 18:04:14 +0000
committerNick Burch <nick@apache.org>2008-01-21 18:04:14 +0000
commitf4b03fa348da6147d553062616678adcfc9c86a9 (patch)
tree5eb29ada44ab911222bf54b6182ec4b6a988f76f
parent4bce8dfcd0b14e64c852390e07ccb5cce7d84e8d (diff)
downloadpoi-f4b03fa348da6147d553062616678adcfc9c86a9.tar.gz
poi-f4b03fa348da6147d553062616678adcfc9c86a9.zip
[ooxml-branch] Add in a jdk 1.4 jar task too
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613953 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index f2921c19ed..10e0982e0b 100644
--- a/build.xml
+++ b/build.xml
@@ -1129,7 +1129,22 @@ FORREST_HOME environment variable!</echo>
<!-- And that's it for maven -->
</target>
- <target name="jar" depends="compile" description="Creates jar files for distribution">
+ <target name="jar-14" depends="compile-main-14" description="Creates the jdk 1.4 only jar file">
+ <jar destfile="${dist.dir}/${jar.name}-jdk14-${version.id}-${DSTAMP}.jar">
+ <fileset dir="${main14.output.dir}" />
+ <fileset dir="legal/" />
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Specification-Title" value="Apache POI"/>
+ <attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/>
+ <attribute name="Specification-Vendor" value="Apache"/>
+ <attribute name="Implementation-Title" value="Apache POI for JDK 1.3/1.4"/>
+ <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/>
+ <attribute name="Implementation-Vendor" value="Apache"/>
+ </manifest>
+ </jar>
+ </target>
+ <target name="jar" depends="compile, jar-14" description="Creates jar files for distribution">
<jar destfile="${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar">
<fileset dir="${main.output.dir}" />
<fileset dir="legal/" />