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)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@545478 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2007-06-08 11:17:02 +00:00
parent 3f1c045b5a
commit 36fa9aa046

View File

@ -812,14 +812,12 @@ FORREST_HOME environment variable!</echo>
<jar destfile="${mavendist.dir}/${jar.name}-${version.id}.jar"> <jar destfile="${mavendist.dir}/${jar.name}-${version.id}.jar">
<manifest> <manifest>
<attribute name="Built-By" value="${user.name}"/> <attribute name="Built-By" value="${user.name}"/>
<section name="common">
<attribute name="Specification-Title" value="Apache POI"/> <attribute name="Specification-Title" value="Apache POI"/>
<attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Specification-Vendor" value="Apache"/> <attribute name="Specification-Vendor" value="Apache"/>
<attribute name="Implementation-Title" value="Apache POI"/> <attribute name="Implementation-Title" value="Apache POI"/>
<attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Implementation-Vendor" value="Apache"/> <attribute name="Implementation-Vendor" value="Apache"/>
</section>
</manifest> </manifest>
<fileset dir="${main.output.dir}" /> <fileset dir="${main.output.dir}" />
<fileset dir="${contrib.output.dir}" /> <fileset dir="${contrib.output.dir}" />
@ -831,14 +829,12 @@ FORREST_HOME environment variable!</echo>
<jar destfile="${mavendist.dir}/${jar.name}-${version.id}-sources.jar"> <jar destfile="${mavendist.dir}/${jar.name}-${version.id}-sources.jar">
<manifest> <manifest>
<attribute name="Built-By" value="${user.name}"/> <attribute name="Built-By" value="${user.name}"/>
<section name="common">
<attribute name="Specification-Title" value="Apache POI"/> <attribute name="Specification-Title" value="Apache POI"/>
<attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Specification-Vendor" value="Apache"/> <attribute name="Specification-Vendor" value="Apache"/>
<attribute name="Implementation-Title" value="Apache POI"/> <attribute name="Implementation-Title" value="Apache POI"/>
<attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Implementation-Vendor" value="Apache"/> <attribute name="Implementation-Vendor" value="Apache"/>
</section>
</manifest> </manifest>
<fileset dir="${main.src}" includes="**/*.java" /> <fileset dir="${main.src}" includes="**/*.java" />
<fileset dir="${contrib.src}" includes="**/*.java" /> <fileset dir="${contrib.src}" includes="**/*.java" />
@ -870,14 +866,12 @@ FORREST_HOME environment variable!</echo>
<fileset dir="legal/" /> <fileset dir="legal/" />
<manifest> <manifest>
<attribute name="Built-By" value="${user.name}"/> <attribute name="Built-By" value="${user.name}"/>
<section name="common">
<attribute name="Specification-Title" value="Apache POI"/> <attribute name="Specification-Title" value="Apache POI"/>
<attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Specification-Vendor" value="Apache"/> <attribute name="Specification-Vendor" value="Apache"/>
<attribute name="Implementation-Title" value="Apache POI"/> <attribute name="Implementation-Title" value="Apache POI"/>
<attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Implementation-Vendor" value="Apache"/> <attribute name="Implementation-Vendor" value="Apache"/>
</section>
</manifest> </manifest>
</jar> </jar>
<jar destfile="${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar"> <jar destfile="${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar">
@ -885,14 +879,12 @@ FORREST_HOME environment variable!</echo>
<fileset dir="legal/" /> <fileset dir="legal/" />
<manifest> <manifest>
<attribute name="Built-By" value="${user.name}"/> <attribute name="Built-By" value="${user.name}"/>
<section name="common">
<attribute name="Specification-Title" value="Apache POI"/> <attribute name="Specification-Title" value="Apache POI"/>
<attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Specification-Vendor" value="Apache"/> <attribute name="Specification-Vendor" value="Apache"/>
<attribute name="Implementation-Title" value="Apache POI"/> <attribute name="Implementation-Title" value="Apache POI"/>
<attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Implementation-Vendor" value="Apache"/> <attribute name="Implementation-Vendor" value="Apache"/>
</section>
</manifest> </manifest>
</jar> </jar>
<jar destfile="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar"> <jar destfile="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar">
@ -900,14 +892,12 @@ FORREST_HOME environment variable!</echo>
<fileset dir="legal/" /> <fileset dir="legal/" />
<manifest> <manifest>
<attribute name="Built-By" value="${user.name}"/> <attribute name="Built-By" value="${user.name}"/>
<section name="common">
<attribute name="Specification-Title" value="Apache POI"/> <attribute name="Specification-Title" value="Apache POI"/>
<attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Specification-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Specification-Vendor" value="Apache"/> <attribute name="Specification-Vendor" value="Apache"/>
<attribute name="Implementation-Title" value="Apache POI"/> <attribute name="Implementation-Title" value="Apache POI"/>
<attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/> <attribute name="Implementation-Version" value="${version.id}-${DSTAMP}"/>
<attribute name="Implementation-Vendor" value="Apache"/> <attribute name="Implementation-Vendor" value="Apache"/>
</section>
</manifest> </manifest>
</jar> </jar>
</target> </target>