You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexandre Navarro (JIRA)" <ji...@codehaus.org> on 2009/10/15 18:53:27 UTC

[jira] Created: (MNG-4396) Problem when variables are replaced in under windows in the ressources files

Problem when variables are replaced in under windows in the ressources files
----------------------------------------------------------------------------

                 Key: MNG-4396
                 URL: http://jira.codehaus.org/browse/MNG-4396
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.2.1
         Environment: Windows
            Reporter: Alexandre Navarro


Problem when variables are replaced in under windows in the ressources files.

For instance, I have a persistence.xml in src/main/ressources

with

 <jar-file>${basedir}/target/classes</jar-file>

After filtering, the String was changed to

<jar-file>C\:\\HOMEWARE\\workspace-3.5\\efts-trunk\\efts-referential/target/classes</jar-file>

The \ after C: is abnormal.
In maven 2.0.9, it works (no \)  but in maven 2.2.1 it does not work.




-- 
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-109) Problem when variables are replaced in under windows in the ressources files

Posted by "Alexandre Navarro (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194976#action_194976 ] 

Alexandre Navarro commented on MRESOURCES-109:
----------------------------------------------

Sorry, you're totally right, I force the ressource plugin to 2.4.1 and it works.
You can close the issue.
Thank you.

> Problem when variables are replaced in under windows in the ressources files
> ----------------------------------------------------------------------------
>
>                 Key: MRESOURCES-109
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-109
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Alexandre Navarro
>
> Problem when variables are replaced in under windows in the ressources files.
> For instance, I have a persistence.xml in src/main/ressources
> with
>  <jar-file>${basedir}/target/classes</jar-file>
> After filtering, the String was changed to
> <jar-file>C\:\\HOMEWARE\\workspace-3.5\\efts-trunk\\efts-referential/target/classes</jar-file>
> The \ after C: is abnormal.
> In maven 2.0.9, it works (no \)  but in maven 2.2.1 it does not work.

-- 
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-109) Problem when variables are replaced in under windows in the ressources files

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

Olivier Lamy closed MRESOURCES-109.
-----------------------------------

    Resolution: Not A Bug

> Problem when variables are replaced in under windows in the ressources files
> ----------------------------------------------------------------------------
>
>                 Key: MRESOURCES-109
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-109
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Alexandre Navarro
>
> Problem when variables are replaced in under windows in the ressources files.
> For instance, I have a persistence.xml in src/main/ressources
> with
>  <jar-file>${basedir}/target/classes</jar-file>
> After filtering, the String was changed to
> <jar-file>C\:\\HOMEWARE\\workspace-3.5\\efts-trunk\\efts-referential/target/classes</jar-file>
> The \ after C: is abnormal.
> In maven 2.0.9, it works (no \)  but in maven 2.2.1 it does not work.

-- 
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-109) Problem when variables are replaced in under windows in the ressources files

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

Benjamin Bentmann commented on MRESOURCES-109:
----------------------------------------------

Maven itself is not responsible for the filtering of resources, so you want to check what version of the Maven Resources Plugin gets used. From your description, it seems you have not locked the plugin versions so you are subject to the default versions contributed by the [super POM|http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Super_POM]. Also, you want to verify that this issue is still valid for the latest version of the Maven Resources Plugin.

> Problem when variables are replaced in under windows in the ressources files
> ----------------------------------------------------------------------------
>
>                 Key: MRESOURCES-109
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-109
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Alexandre Navarro
>
> Problem when variables are replaced in under windows in the ressources files.
> For instance, I have a persistence.xml in src/main/ressources
> with
>  <jar-file>${basedir}/target/classes</jar-file>
> After filtering, the String was changed to
> <jar-file>C\:\\HOMEWARE\\workspace-3.5\\efts-trunk\\efts-referential/target/classes</jar-file>
> The \ after C: is abnormal.
> In maven 2.0.9, it works (no \)  but in maven 2.2.1 it does not work.

-- 
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-109) Problem when variables are replaced in under windows in the ressources files

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

Benjamin Bentmann moved MNG-4396 to MRESOURCES-109:
---------------------------------------------------

           Complexity:   (was: Intermediate)
    Affects Version/s:     (was: 2.2.1)
                  Key: MRESOURCES-109  (was: MNG-4396)
              Project: Maven 2.x Resources Plugin  (was: Maven 2)

> Problem when variables are replaced in under windows in the ressources files
> ----------------------------------------------------------------------------
>
>                 Key: MRESOURCES-109
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-109
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Alexandre Navarro
>
> Problem when variables are replaced in under windows in the ressources files.
> For instance, I have a persistence.xml in src/main/ressources
> with
>  <jar-file>${basedir}/target/classes</jar-file>
> After filtering, the String was changed to
> <jar-file>C\:\\HOMEWARE\\workspace-3.5\\efts-trunk\\efts-referential/target/classes</jar-file>
> The \ after C: is abnormal.
> In maven 2.0.9, it works (no \)  but in maven 2.2.1 it does not work.

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