For different config files I often do it with an include. I.e. spring
configuration for production, test, dev, make a main
applicationContext.xml which includes database-${environment}.xml. Now
you can switch config files between builds. (Or at runtime, if you don't
filter.
Hth,
Nick S.
Jan Zelenka wrote:
Hi,
I have different config files for various build targets (dev, test, prod),
but I cannot use standard resource filtering because whole portions of the
files are diferrent, not just simple strings. In Ant I have a copy of the
file for each target and just copy/rename them during build. What would be
the best way to do this in maven? Preferably using profiles to choose
targets.
Thank you,
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]