Author: nick
Date: Fri Jun  8 04:17:02 2007
New Revision: 545478

URL: http://svn.apache.org/viewvc?view=rev&rev=545478
Log:
Remove the section entries from the jar manifests, as they aren't required, and 
it looks like we only have them because someone cut'n'pasted from the ant 
manual (see bug #42614)

Modified:
    jakarta/poi/trunk/build.xml

Modified: jakarta/poi/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/build.xml?view=diff&rev=545478&r1=545477&r2=545478
==============================================================================
--- jakarta/poi/trunk/build.xml (original)
+++ jakarta/poi/trunk/build.xml Fri Jun  8 04:17:02 2007
@@ -812,14 +812,12 @@
         <jar destfile="${mavendist.dir}/${jar.name}-${version.id}.jar">
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
-                <section name="common">
-                  <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"/>
-                </section>
+                <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>        
                        <fileset dir="${main.output.dir}" />
                        <fileset dir="${contrib.output.dir}" />
@@ -831,14 +829,12 @@
         <jar destfile="${mavendist.dir}/${jar.name}-${version.id}-sources.jar">
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
-                <section name="common">
-                  <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"/>
-                </section>
+                <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>        
                        <fileset dir="${main.src}" includes="**/*.java" />
                        <fileset dir="${contrib.src}" includes="**/*.java" />
@@ -870,14 +866,12 @@
                        <fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
-                <section name="common">
-                  <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"/>
-                </section>
+                <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>
         <jar 
destfile="${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar">
@@ -885,14 +879,12 @@
                        <fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
-                <section name="common">
-                  <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"/>
-                </section>
+                <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>
         <jar 
destfile="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar">
@@ -900,14 +892,12 @@
                        <fileset dir="legal/" />
             <manifest>
                 <attribute name="Built-By" value="${user.name}"/>
-                <section name="common">
-                  <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"/>
-                </section>
+                <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>



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

Reply via email to