You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2008/03/15 22:44:26 UTC

[jira] Resolved: (FELIX-517) Replacement of {maven-dependencies} in Include-Resource and Bundle-ClassPath can strip Windows path separators

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

Stuart McCulloch resolved FELIX-517.
------------------------------------

    Resolution: Fixed

Fix committed to trunk

> Replacement of {maven-dependencies} in Include-Resource and Bundle-ClassPath can strip Windows path separators
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-517
>                 URL: https://issues.apache.org/jira/browse/FELIX-517
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-1.4.0
>         Environment: Windows
>            Reporter: Stuart McCulloch
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-1.4.1
>
>
> On Windows platforms, when you use {maven-dependencies} in a custom Include-Resource instruction like the following:
>    <Include-Resource>
>       additional-resource, {maven-dependencies}, some-other-resource
>    <Include-Resource>
> then the Windows path separator can be stripped by the String.replaceAll() method - this could also affect other characters that have special meaning in regexp.
> Solution is to use the Plexus StringUtils.replace() method which supports simple string replacement without using regexp (which isn't actually required here).

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