On Fri, 2006-01-20 at 09:50 +0100, Jörg Schaible wrote:
> Hi Simon,
>
> Simon Kitching wrote on Friday, January 20, 2006 9:14 AM:
> [snip]
> > (2)
> > To revisit the MANIFEST.MF file. I believe there was some
> > discussion on
> > this list a while ago about some attribute of the manifest that should
> > be there but most projects weren't inserting. I went searching for
> > the info and found this: http://jira.codehaus.org/browse/MPJAR-51
> > with a comment by a certain Robert Donkin. So I presume you
> > know what to
> > do with the manifest Robert? :-)
>
> Well, there's also a comment by me :)
>
> I've solved the specificationVersion within the javaapp plugin by using
> major.minor, see jelly snippet:
commons-logging doesn't use maven to build the jars (only the site).
<jar jarfile="${build.home}/${core.jar.name}"
basedir="${build.home}/classes"
manifest="${build.home}/conf/MANIFEST.MF">
<include name="org/apache/commons/logging/**" />
<include name="META-INF/LICENSE.txt"/>
<include name="META-INF/NOTICE.txt"/>
<exclude name="**/package.html"/>
</jar>
The currently generated manifest is:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
Extension-Name: org.apache.commons.logging
Specification-Vendor: Apache Software Foundation
Specification-Version: 1.0
Implementation-Vendor: Apache Software Foundation
Implementation-Version: 1.1
Do you know if there's anything extra needed?
Cheers,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]