Thanks guys, I recently added this to Maven, so that anyone using maven
can fill in their project descriptor and do:
ant maven:jar
and it will automatically create the appropriate manifest for you from the
descriptor.
"Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote on 10/04/2002 12:23:26
AM:
> From: "Glenn Nielsen" <[EMAIL PROTECTED]>
>
> > FYI, I recently added package versioning to Jakarta-Taglibs.
> > The jakarta-taglibs ant build uses an XSL Stylesheet to
> > create the manifiest. :-)
>
> Another possibility: on Jakarta POI we are using a dev version of
Centipede.
> The jar is done like this:
>
> <property name="package-name-suffix"
> value="${package-version}-${DSTAMP}"/>
>
> <jar
>
jarfile="${xlayout.build.dir}/${package-name}-${package-name-suffix}.jar">
> <fileset dir="${xlayout.build.classes.dir}">
> <include name="**"/>
> </fileset>
> <manifest>
> <attribute name="Built-By" value="${user.name}"/>
> <section name="common">
> <attribute name="Specification-Title" value="${package-name}"
> />
> <attribute name="Specification-Version"
> value="${package-short.version}" />
> <attribute name="Specification-Vendor"
> value="${xgump.module.vendor}" />
> <attribute name="Implementation-Title" value="${package-name}"
> />
> <attribute name="Implementation-Version"
> value="${package-version}" />
> <attribute name="Implementation-Vendor"
> value="${xgump.module.vendor}" />
> </section>
> </manifest>
> </jar>
>
> --
> Nicola Ken Barozzi [EMAIL PROTECTED]
> - verba volant, scripta manent -
> (discussions get forgotten, just code remains)
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>