You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "C. Delmas (JIRA)" <ji...@codehaus.org> on 2009/09/07 12:25:31 UTC

[jira] Created: (MNG-4340) Absolute path in filtered resources are broken

Absolute path in filtered resources are broken
----------------------------------------------

                 Key: MNG-4340
                 URL: http://jira.codehaus.org/browse/MNG-4340
             Project: Maven 2
          Issue Type: Bug
          Components: Maven Resources Filtering
    Affects Versions: 2.2.1, 2.2.0
         Environment: Windows XP, Maven 2.2.1
            Reporter: C. Delmas


I have a file which need to be filtered : it references ${project.build.directory}.

After the filtering, I have this kind of absolute path :
(...)
<path value="C\:\\Path\\To\\Somewhere"></path>

which cannot be used as a File path.


As far as I remember, this used to work in versions 2.0.x (don't know for 2.1.0).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRESOURCES-100) Absolute path in filtered resources are broken

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=190085#action_190085 ] 

Benjamin Bentmann commented on MRESOURCES-100:
----------------------------------------------

Resource filtering is the job of the Maven Resources Plugin so we would need to know the version of that plugin to investigate.

> Absolute path in filtered resources are broken
> ----------------------------------------------
>
>                 Key: MRESOURCES-100
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-100
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows XP, Maven 2.2.1
>            Reporter: C. Delmas
>
> I have a file which need to be filtered : it references ${project.build.directory}.
> After the filtering, I have this kind of absolute path :
> (...)
> <path value="C\:\\Path\\To\\Somewhere"></path>
> which cannot be used as a File path.
> As far as I remember, this used to work in versions 2.0.x (don't know for 2.1.0).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRESOURCES-100) Absolute path in filtered resources are broken

Posted by "C. Delmas (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRESOURCES-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

C. Delmas closed MRESOURCES-100.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4

My apologies. I didn't use the last version of the resources plugin.

> Absolute path in filtered resources are broken
> ----------------------------------------------
>
>                 Key: MRESOURCES-100
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-100
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows XP, Maven 2.2.1
>            Reporter: C. Delmas
>             Fix For: 2.4
>
>
> I have a file which need to be filtered : it references ${project.build.directory}.
> After the filtering, I have this kind of absolute path :
> (...)
> <path value="C\:\\Path\\To\\Somewhere"></path>
> which cannot be used as a File path.
> As far as I remember, this used to work in versions 2.0.x (don't know for 2.1.0).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRESOURCES-100) Absolute path in filtered resources are broken

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=190089#action_190089 ] 

Olivier Lamy commented on MRESOURCES-100:
-----------------------------------------

This should be fixed with 2.4 of the resources plugin.

> Absolute path in filtered resources are broken
> ----------------------------------------------
>
>                 Key: MRESOURCES-100
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-100
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows XP, Maven 2.2.1
>            Reporter: C. Delmas
>
> I have a file which need to be filtered : it references ${project.build.directory}.
> After the filtering, I have this kind of absolute path :
> (...)
> <path value="C\:\\Path\\To\\Somewhere"></path>
> which cannot be used as a File path.
> As far as I remember, this used to work in versions 2.0.x (don't know for 2.1.0).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Moved: (MRESOURCES-100) Absolute path in filtered resources are broken

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRESOURCES-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-4340 to MRESOURCES-100:
---------------------------------------------------

    Affects Version/s:     (was: 2.2.1)
                           (was: 2.2.0)
          Component/s:     (was: Maven Resources Filtering)
           Complexity:   (was: Intermediate)
                  Key: MRESOURCES-100  (was: MNG-4340)
              Project: Maven 2.x Resources Plugin  (was: Maven 2)

> Absolute path in filtered resources are broken
> ----------------------------------------------
>
>                 Key: MRESOURCES-100
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-100
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows XP, Maven 2.2.1
>            Reporter: C. Delmas
>
> I have a file which need to be filtered : it references ${project.build.directory}.
> After the filtering, I have this kind of absolute path :
> (...)
> <path value="C\:\\Path\\To\\Somewhere"></path>
> which cannot be used as a File path.
> As far as I remember, this used to work in versions 2.0.x (don't know for 2.1.0).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira