diff options
author | Nick Burch <nick@apache.org> | 2009-05-17 18:38:33 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2009-05-17 18:38:33 +0000 |
commit | 062c21566047d3ea0653488dbd86adaf0805e500 (patch) | |
tree | d510364175b767763e6a97c114499d477976dc7f /build.xml | |
parent | a8dcc4416f1e87dfbb472a6da10034383e4f0e1c (diff) | |
download | poi-062c21566047d3ea0653488dbd86adaf0805e500.tar.gz poi-062c21566047d3ea0653488dbd86adaf0805e500.zip |
Fix bug #46554 - New ant target "jar-examples"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@775734 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1098,6 +1098,21 @@ FORREST_HOME environment variable!</echo> </manifest> </jar> </target> + <target name="jar-examples" depends="compile, compile-version" description="Creates a jar file of the examples, in case people want to use them as-is"> + <jar destfile="${dist.dir}/${jar.name}-examples-${version.id}-${DSTAMP}.jar"> + <fileset dir="${examples.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"/> + <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/> + <attribute name="Implementation-Vendor" value="Apache"/> + </manifest> + </jar> + </target> <target name="dist" depends="clean, fail-unless-tools-are-available, compile, site, jar" description="Creates the entire distribution into build/dist, from scratch"> |