You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2006/05/21 18:16:40 UTC

[jira] Created: (MWAR-43) Web resource filtering does not expand variables

Web resource filtering does not expand variables
------------------------------------------------

         Key: MWAR-43
         URL: http://jira.codehaus.org/browse/MWAR-43
     Project: Maven 2.x War Plugin
        Type: Bug

    Versions: 2.0    
 Environment: Windows XP, Cygwin
    Reporter: Mark Hobson
 Attachments: test.zip

Variables contained within filter values are not expanded for web resource filtering as they are for normal resource filtering.

mvn package attached project:

Expected:
* target/WEB-INF/classes/resource.txt == Test
* target/web-resource.txt == Test

Actual:
* target/WEB-INF/classes/resource.txt == Test
* target/web-resource.txt == ${project.name}


-- 
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] Updated: (MWAR-43) Web resource filtering does not expand variables

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-43?page=all ]

Brett Porter updated MWAR-43:
-----------------------------

    Fix Version: 2.0.1

we also need to document the webResources feature

> Web resource filtering does not expand variables
> ------------------------------------------------
>
>          Key: MWAR-43
>          URL: http://jira.codehaus.org/browse/MWAR-43
>      Project: Maven 2.x War Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>      Fix For: 2.0.1
>  Attachments: test.zip
>
>
> Variables contained within filter values are not expanded for web resource filtering as they are for normal resource filtering.
> mvn package attached project:
> Expected:
> * target/WEB-INF/classes/resource.txt == Test
> * target/web-resource.txt == Test
> Actual:
> * target/WEB-INF/classes/resource.txt == Test
> * target/web-resource.txt == ${project.name}

-- 
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: (MWAR-43) Web resource filtering does not expand variables

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-43?page=all ]
     
Brett Porter closed MWAR-43:
----------------------------

      Assign To: Brett Porter
     Resolution: Duplicate
    Fix Version:     (was: 2.0.1)

> Web resource filtering does not expand variables
> ------------------------------------------------
>
>          Key: MWAR-43
>          URL: http://jira.codehaus.org/browse/MWAR-43
>      Project: Maven 2.x War Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>     Assignee: Brett Porter
>  Attachments: test.zip
>
>
> Variables contained within filter values are not expanded for web resource filtering as they are for normal resource filtering.
> mvn package attached project:
> Expected:
> * target/WEB-INF/classes/resource.txt == Test
> * target/web-resource.txt == Test
> Actual:
> * target/WEB-INF/classes/resource.txt == Test
> * target/web-resource.txt == ${project.name}

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