[
http://jira.codehaus.org/browse/MASSEMBLY-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264297#action_264297
]
David Delbecq edited comment on MASSEMBLY-528 at 4/21/11 5:21 AM:
------------------------------------------------------------------
Please reopen the issue, it is still broken.
If a line in the fitlered file starts with an @, the line is not filtered.
{noformat}
my source batch file:
example ${pom.version}
@java -jar .\lib\dvp-latexrenderer-${pom.version}.jar .\..\documents\%1\%1.xml
.\..\documents\%1\%1-latex.xml images
The output i get:
example 1.0-SNAPSHOT
@java -jar .\lib\dvp-latexrenderer-${pom.version}.jar .\..\documents\%1\%1.xml
.\..\documents\%1\%1-latex.xml images
The output i expect:
example 1.0-SNAPSHOT
@java -jar .\lib\dvp-latexrenderer-1.0-SNAPSHOT.jar .\..\documents\%1\%1.xml
.\..\documents\%1\%1-latex.xml images
The workaround:
replace all @ with ${At} and put in filters: At=@
{noformat}
was (Author: tchize):
Please reopen the issue, it is still broken.
If a line in the fitlered file starts with an @, the line is not filtered.
my source batch file:
example ${pom.version}
@java -jar .\lib\dvp-latexrenderer-${pom.version}.jar .\..\documents\%1\%1.xml
.\..\documents\%1\%1-latex.xml images
The output i get:
example 1.0-SNAPSHOT
@java -jar .\lib\dvp-latexrenderer-${pom.version}.jar .\..\documents\%1\%1.xml
.\..\documents\%1\%1-latex.xml images
The output i expect:
example 1.0-SNAPSHOT
@java -jar .\lib\dvp-latexrenderer-1.0-SNAPSHOT.jar .\..\documents\%1\%1.xml
.\..\documents\%1\%1-latex.xml images
The workaround:
replace all @ with ${At} and put in filters: At=@
> FileSet does not support filtering (again)
> ------------------------------------------
>
> Key: MASSEMBLY-528
> URL: http://jira.codehaus.org/browse/MASSEMBLY-528
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Maik Richey
> Assignee: Dennis Lundberg
> Priority: Critical
> Fix For: 2.2.1
>
> Attachments: MASSEMBLY-528_sample.zip
>
>
> After switching to version 2.2 of the Assembly Plugin filtering for FileSets
> does not work again as in versions prior to 2.2-beta-3.
> Can anybody confirm this issue?
--
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