The documentation of assembly plugin does not says anything about changing 
delimiter. Moreover, it does not use maven resource plugin.
I tried to change my version of m-r-p to a recent one that fixes the @ issue, 
but assembly does not seem to use it.
The only workaround i found is to replace all my @ with ${At} and defin At=@ in 
filter. This create unreadable file on source side :s

Any other suggestion?
Should i fill a bug report?


----- Mail original -----

De: "Wayne Fay" <[email protected]>
À: "Maven Users List" <[email protected]>
Envoyé: Mercredi 20 Avril 2011 23:01:48
Objet: Re: Only partial filtering of .bat with assembly

> i try to have some .bat files filtered by assembly plugin. However, for some
> reason, any batch line that starts with a @ is ignored by filterer :/
> This is a big problem considering 90% of the script lines starts with a @. Is
> there some way to have filter don't ignore those lines?

Pretty sure the assembly plugin uses the same configuration for
filtering delimiters that m-r-p uses:
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters

The delimiter list includes ${*} and @.

You should be able to override those delimiters somehow. I honestly
don't know the proper configuration as I've never needed to do this
myself, but probably you can configure <delimiters> in <configuration>
somewhere.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to