I am doing something very similar to rudy. My application accesses its properties via JNDI - so each environment would have its own custom tailored set of properties. I would like the build process to batch filter the properties files for each environment and include then in the artifact.
I have property files that I want filtered 4 times to 4 different target directories from 4 different filter sets. Can maven2 handle this directly, or should I just write an ant build file to do this and wire that into maven using the maven-antrun-plugin? Carlos -----Original Message----- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 6:33 AM To: Maven Users List Subject: Re: Multiple passes of filtering I haven't seen an answer to this yet, so I guess it's still open... Try using the maven-ant-plugin for this, 'cause afaik, maven can't do this. Roland On Friday 02 June 2006 23:22, [EMAIL PROTECTED] wrote: > Is there a way to do multiple passes of filtering? > > > > I have one property file that I want filtered 4 times to 4 different > target directories from 4 different filter files since I have to deal > with creating property files for 4 different Server environments. > > > > It would be nice to do this in one swoop so I'm not having to recompile > the base code each time. > > > > --Rudy --------------------------------------------------------------------- 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]
