Nathan Maves wrote: > First off great product! > > I am using filtering for all of my property files that differ from multiple > environments (dev, uat, prod). I am a little stuck on how to filter files > that differ dramatically from env to env. One such file is a log4j > properties file. We have very different files depending on env. Is there > any way, without using ant, to copy these files to the target directories > based on which profile is used.
One way would be to define profiles for your various environments. In each profile, configure the resources section. (A look at http://maven.apache.org/ref/current/maven-model/maven.html helps how to do that). Your project doesn't have a single resources dir then, but one for each profile (and one for resources that are the same on all profiles, maybe) -dirk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]