Thanks for that Brett and Leandro.

I've set up a simple page on the wiki:

http://wiki.codehaus.org/maven/FilteringResources

please feel free to edit it and when u think it's ok, we'll move it into 
the user's guide.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Brett Porter <[EMAIL PROTECTED]> wrote on 23/07/2003 08:18:11 AM:

> Try something roughly like:
> 
> <preGoal name="java:jar-resources">
> <ant:filter token="some.property" value="some_value" />
> <ant:filtersfile file="some.properties" />
> </preGoal>
> 
> Try it out, enhance and feel free to submit something more comprehensive 
:)
> 
> Cheers,
> Brett
> 
> --
> Brett Porter
> Developer, Content & Distribution
> f2 network ~ everything essential
> 
> 
> -----Original Message-----
> From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 23 July 2003 1:44 AM
> To: Maven Users List
> Subject: [HOWTO] New feature: filtering
> 
> 
> Hi all. I noticed that resource filtering was added by Vincent Massol on 
13
> Jun 2003. Is it included on B10 ?
> 
> I know I must use :
> 
> <resources>
>   <resource>
>     <filtering>true</filtering>
>     ...
>   </resource>
> </resources>
> 
> but how do I write pre-goals with filter tokens ?
> 
> -- 
> Leandro Rodrigo Saad Cruz
> IT - Inter Business Tecnologia e Servicos (IB) 
http://www.ibnetwork.com.br
> http://db.apache.org/ojb http://xingu.sourceforge.net
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to