I wonder if this is a bug.

When I do not use the OSGi plugin then the information supplied via the
manifest.mainAttributes data is put into the MANIFEST.MF file of the
jar.  When I use the OSGi plugin this information is ignored and only
the data from bnd is put into the manifest.  I think this is wrong.  The
manifest should be the explicitly stated one overriden by the BND data.

Also I wonder if the formatting of the manifest file completed by the
OSGi plugin is dubious:

        Manifest-Version: 1.0
        Ant-Version: Apache Ant 1.7.0
        Created-By: 1.6.0_14 (Sun Microsystems Inc.)
        Private-Package:
        gant;version="1.7.0.SNAPSHOT",gant.targets;version="1
         .7.0.SNAPSHOT",gant.tools;version="1.7.0.SNAPSHOT",org.codehaus.gant;
        
        version="1.7.0.SNAPSHOT",org.codehaus.gant.ant;version="1.7.0.SNAPSHO
         T"
        Bundle-Version: 1.7.0.SNAPSHOT
        Tool: Bnd-0.0.255
        Bnd-LastModified: 1248710573404
        Bundle-Name: Trunk_Development
        Bundle-ManifestVersion: 2
        Bundle-SymbolicName: org.codehaus.gant.Trunk_Development

There seems to be inappropriate newlines.

This also exhibits the lack of use of archivesBaseName:  There is
clearly a real problem here of using the directory name rather than the
explicitly specified name for archives given in the build.gradle file.
I am fairly sure a bug report is coming on this.

Thanks.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to