maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Mohni (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSHARED-177) Filter files are not filtered with already known filter values
Date Fri, 24 Dec 2010 12:07:57 GMT

    [ http://jira.codehaus.org/browse/MSHARED-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249634#action_249634
] 

Daniel Mohni commented on MSHARED-177:
--------------------------------------

I will create a unit test for this issue when I am back from holiday, but this will have to
wait until end of January when I get back to work...

I faced the problem working on a customer site project, using the assembly-plugin version
2.2, we used multiple filter files to create environment specific configurations.

Filter File A contains portions of a value of Filter File B, using the key of File B to replace
a value in a resource file still contained the key of File A...


> Filter files are not filtered with already known filter values
> --------------------------------------------------------------
>
>                 Key: MSHARED-177
>                 URL: http://jira.codehaus.org/browse/MSHARED-177
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>         Environment: all
>            Reporter: Daniel Mohni
>         Attachments: PropertyUtils.patch
>
>
> While loading multiple Filter files the current file is filtered but the combined filter
properties are not updated.
> The problem is related that the current filter properties are combined before they are
filterd.
> The copmbined values are not updated after filtering...
> Attached is a patch that will also update the value in the combinedProperties

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

        

Mime
View raw message