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]
