[jdom-interest] Manifest

Elliotte Harold elharo at metalab.unc.edu
Sat Oct 9 07:49:04 PDT 2004


Ken Roberts wrote:

> 
>     <!-- the old part
>     <jar jarfile="${build.dir}/${name}.jar"
>          basedir="${build.dest}"
>          excludes="META-INF/MANIFEST.MF"
>          manifest="${build.dest}/META-INF/MANIFEST.MF"/>
>     -->
>     <!-- the new part -->
>     <property name="version" value="1.0"/>
>     <property name="vendor"  value="jdom.org"/>
>     <jar jarfile="${build.dir}/${name}.jar">
>       <manifest>
>         <attribute name="Built-By" value="${user.name}"/>
>         <!--Make something for the whole jar-->
>         <attribute name="Specification-Title"   value="JDOM Classes"/>
>         <attribute name="Specification-Version" value="${version}"/>
>         <attribute name="Specification-Vendor"  value="${vendor}"/>
>         <attribute name="Implementation-Title"   value="org.jdom"/>
>         <attribute name="Implementation-Version" value="${version}"/>
>         <attribute name="Implementation-Vendor"  value="${vendor}"/>
>         <!--Make something for the individual nested packages-->
>         <section name="org/jdom/input">
>           <attribute name="Specification-Title"   value="JDOM input 
> classes"/>


Why do you call out the individual packages separately here? Wouldn't it 
be enough to have one batch of attributes in the main section? It's not 
as if the individual packages are versioned separately from the main 
release.

Also, could you please elaborate on what exactly you use these 
attributes for and how you use them? Thanks.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN%3D0596007647/cafeaulaitA/ref%3Dnosim


More information about the jdom-interest mailing list