felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Gandon (JIRA) <j...@apache.org>
Subject [jira] [Updated] (FELIX-5063) Bundle-ClassPath directive does not accept entry parameters
Date Mon, 05 Oct 2015 16:16:27 GMT

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

Sébastien Gandon updated FELIX-5063:
------------------------------------
    Summary: Bundle-ClassPath directive does not accept entry parameters  (was: Bundle-ClassPath
directive does not accept entry parameter)

> Bundle-ClassPath directive does not accept entry parameters
> -----------------------------------------------------------
>
>                 Key: FELIX-5063
>                 URL: https://issues.apache.org/jira/browse/FELIX-5063
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-3.0.0
>            Reporter: Sébastien Gandon
>            Priority: Minor
>
> I need to create a manifest with an Bundle-ClassPath entry that contains parameters,
but the *maven-bundle* plugin interprets the ';' as a ',' which is not what is expected.
> here is my instruction
> {code}
> <Bundle-ClassPath>{maven-dependencies},partner-${partner.version}.jar;mvn:org.talend.components.salesforce/partner/${partner.version}</Bundle-ClassPath>
                       
> {code}
> here is what is generated
> {code}
> Bundle-ClassPath: force-wsc-35.0.0.jar,metadata-34.0.0.jar,json-simple-1
>  .1.1.jar,javax.inject-1.jar,partner-34.0.0.jar,mvn:org.talend.component
>  s.salesforce/partner/34.0.0
> {code}
> Notice the semi-colon that was transformed into a colon.
> PS :
> here is an excerpt of the OSGI spec 
>  
> The Bundle-ClassPath manifest header must conform to the following syntax:
> Bundle-ClassPath ::= entry ( ',' entry )*
> entry            ::= target ( ';' target )* ( ';' parameter ) *
> target           ::= path | '.'     // See 
> 1.3.2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message