<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Hi folks.&nbsp; This is my first attempt to post to this forum.&nbsp; I've made a change to the build.xml file which (approximately) reproduces your manifest as a genuine manifest inside the distributable jar.<BR>
<BR>
Our software uses the Package interface to programmatically verify the version being used is adequate, and without an accurate MANIFEST.MF in the jar I can't do this.&nbsp; Please adopt these changes into your official source in future releases.<BR>
<BR>
The only change is near the &quot;&lt;jar&quot; tag, so I'll only include the old part and the part that I fixed.&nbsp; Sorry for the length of text, but that's what you have to do if you want a manifest with sections in it.&nbsp; The first attribute set, outside the &lt;section&gt; tags are the most important for my needs.<BR>
<BR>
<BR>
Thanks, and here's my submission:<BR>
<BR>
&nbsp;&nbsp;&nbsp; &lt;!-- the old part<BR>
&nbsp;&nbsp;&nbsp; &lt;jar jarfile=&quot;${build.dir}/${name}.jar&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; basedir=&quot;${build.dest}&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; excludes=&quot;META-INF/MANIFEST.MF&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; manifest=&quot;${build.dest}/META-INF/MANIFEST.MF&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp; --&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;!-- the new part --&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;property name=&quot;version&quot; value=&quot;1.0&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;property name=&quot;vendor&quot;&nbsp; value=&quot;jdom.org&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;jar jarfile=&quot;${build.dir}/${name}.jar&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;manifest&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Built-By&quot; value=&quot;${user.name}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--Make something for the whole jar--&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM Classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--Make something for the individual nested packages--&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/input&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM input classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.input&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/output&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM output classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.output&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/output&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM output classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.output&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/adapters&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM adapters classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.adapters&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/filter&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM filter classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.filter&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/transform&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM transform classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.transform&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&quot;org/jdom/xpath&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Title&quot;&nbsp;&nbsp; value=&quot;JDOM xpath classes&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Specification-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Title&quot;&nbsp;&nbsp; value=&quot;org.jdom.xpath&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Implementation-Vendor&quot;&nbsp; value=&quot;${vendor}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/section&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/manifest&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fileset dir=&quot;${build.dest}&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;exclude name=&quot;**/CVS*&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;exclude name=&quot;**/*.java&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;exclude name=&quot;META-INF/MANIFEST.MF&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fileset&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;/jar&gt;
</BODY>
</HTML>