Author: nick
Date: Mon Jan 21 10:04:14 2008
New Revision: 613953

URL: http://svn.apache.org/viewvc?rev=613953&view=rev
Log:
[ooxml-branch] Add in a jdk 1.4 jar task too

Modified:
    poi/branches/ooxml/build.xml

Modified: poi/branches/ooxml/build.xml
URL: 
http://svn.apache.org/viewvc/poi/branches/ooxml/build.xml?rev=613953&r1=613952&r2=613953&view=diff
==============================================================================
--- poi/branches/ooxml/build.xml (original)
+++ poi/branches/ooxml/build.xml Mon Jan 21 10:04:14 2008
@@ -1129,7 +1129,22 @@
                <!-- 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/" />



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to