felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-909) White spaces in the Import-Bundle of theManifest file
Date Fri, 30 Jan 2009 11:21:59 GMT

    [ https://issues.apache.org/jira/browse/FELIX-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668819#action_12668819

Stuart McCulloch commented on FELIX-909:

Yep - btw, as a workaround until they fix their parser you could either do this:


as whitespace is removed from the start and end (but never from the middle) ... or put your
Import-Bundle list in another properties file and include it like so:


where the "some.more.properties" file contains:

  Import-Bundle: com.bla.api,com.bla.impl

but hopefully the dmServer parser will be fixed soon (though I'm surprised it doesn't handle

> White spaces in the Import-Bundle of theManifest file
> -----------------------------------------------------
>                 Key: FELIX-909
>                 URL: https://issues.apache.org/jira/browse/FELIX-909
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-1.4.3
>            Reporter: Boris Burgstaller
>         Attachments: example.txt, patch.txt
> We are using the Maven Bundle Plugin to generate our bundles and manifests.
> We are using the Import-Bundle  and we noticed that it does not remove the white spaces
coming from the xml if you format it like this:
> <Import-Bundle>
>     com.bla.api,
>     com.bla.impl
> </Import-Bundle>
> We deploy some bundles on a springsource dm server, and if the manifest contains whitespaces
and newlines, it falis to parse the file.
> could you please remove the white spaces for this property?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message