Title: RE: [HOWTO] New feature: filtering

Since there is already a section in the user guide for this, here's a quick patch to point the reader at the wiki until the doco is finalised.

Properties file goes in xdocs/ant-guide/qna

Cheers,
Brett

--
Brett Porter
Team Leader, Core Systems
f2 network ~ everything essential


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 23 July 2003 2:15 PM
To: Maven Users List
Subject: RE: [HOWTO] New feature: filtering


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]

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to