You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2011/09/01 07:12:09 UTC

[jira] [Closed] (LANG-749) Incorrect Bundle-SymbolicName in Manifest

     [ https://issues.apache.org/jira/browse/LANG-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-749.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.2

Thanks Brandon - I've applied the fix.

svn ci -m "Fixing the OSGi SymbolicName by updating the commons.componentid. Issue identified by Brandon Harper in LANG-749" pom.xml 
Sending        pom.xml
Transmitting file data .
Committed revision 1163904.

> Incorrect Bundle-SymbolicName in Manifest
> -----------------------------------------
>
>                 Key: LANG-749
>                 URL: https://issues.apache.org/jira/browse/LANG-749
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 3.0.1
>         Environment: Snow Leopard
>            Reporter: Brandon Harper
>              Labels: build, bundle, jar, manifest, osgi, packaging, symbolicname
>             Fix For: 3.0.2
>
>         Attachments: pom.xml
>
>
> The Bundle-SymbolicName in the manifest is:
> Bundle-SymbolicName: org.apache.commons.lang
> It should be:
> Bundle-SymbolicName: org.apache.commons.lang3
> When you install the new lang3 library in an OSGi container such as Apache Felix beside the old v2.x library, they conflict with each other because the SymbolicName is used as a unique id and they conflict with each other.  My only work around at the moment is to manually edit the manifest and repackage.
> TLDR version:  The SymbolicName in the manifest does not reflect the lang3 package structure and conflicts in OSGi containers which are already using previous versions of Commons Lang.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira