[ 
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:

  <Import-Bundle>
      com.bla.api,com.bla.impl
  </Import-Bundle>

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:

  <_include>some.more.properties</_include>

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 whitespace)

> 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.

Reply via email to