I've stopped using the antrun plugin to filter my resources, thanks Max, but now I have a new problem.
In the settings.xml file I have a profile which declares various properties needed for database stuff, e.g. <dev.db.s_sql>false</dev.db.s_sql> but I also have a similar property <test.db.s_sql>false</test.db.s_sql> obviously used for testing :-) Now in a xml file in the resources folder I have @db.s_sql@, sometimes this will get it's value from test.db.s_sql and other times from dev.db.s_sql (different goals), so my problem is that I need to have either 2 profiles or two properties files with test.db and dev.db values in them, e.g. filter-test.properties show_sql=${test.db.show_sql} filter-dev.properties show_sql=${test.db.show_sql} but how do I activate the profile or property file at the right time? Can I activate the test profile during the test phase only and the dev during it's respective phase. Or in testResources can i specify the test profile/property file? Thanks Brian. -- View this message in context: http://www.nabble.com/-M2--Ant-filter-t1817822.html#a4990339 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]