Re: dynamically select resources and apply filtering

2013-02-27 Thread Jean-Noël Colin
your thought processes: http://stackoverflow.com/questions/14650468/whats-a-practicable-way-for-au tomated-configuration-versioning-and-deployment/14661186#14661186 On 26 February 2013 15:06, Jean-Noël Colin jn.co...@gmail.com wrote: so your suggestion would be to have maven do

Re: dynamically select resources and apply filtering

2013-02-27 Thread Jean-Noël Colin
should be selected. On 27 February 2013 08:56, Jean-Noël Colin jn.co...@gmail.com wrote: so basically, what you recommend is to use Maven to build a 'standard' war, and then write my own scripts to customize the war to each distinct environment, is that right? Jean-Noël On 26 Feb

Re: dynamically select resources and apply filtering

2013-02-26 Thread Jean-Noël Colin
kits. Ron 2013/2/26 Jean-Noël Colin jn.co...@gmail.com Hi Ron, Do you mean invoking the ant plugin from the pom.xml file? I was wondering whether this was a good practice, or something to be kept only for situations where you really can't avoid it Best regards Jean-Noël On 25 Feb

Re: dynamically select resources and apply filtering

2013-02-26 Thread Jean-Noël Colin
again, many thanks for your valuable comments; but my issue is that if Maven packages the war file, it means that the config files have already been customized (think of the spring config files in WEB-INF for instance); so how can I mix both approaches? Cheers Jean-Noël On 26 Feb 2013, at

Re: dynamically select resources and apply filtering

2013-02-26 Thread Jean-Noël Colin
this sounds easy :-) any CM tool to recommend? many thanks On 26 Feb 2013, at 16:22, Wayne Fay wayne...@gmail.com wrote: again, many thanks for your valuable comments; but my issue is that if Maven packages the war file, it means that the config files have already been customized (think of

Re: dynamically select resources and apply filtering

2013-02-26 Thread Jean-Noël Colin
-configuration-versioning-and-deployment/14661186#14661186 On 26 February 2013 15:06, Jean-Noël Colin jn.co...@gmail.com wrote: so your suggestion would be to have maven do the compile, and a kind of 'war:exploded', and then run ant to add the customized files and create the war file

dynamically select resources and apply filtering

2013-02-25 Thread Jean-Noël Colin
Hi I'm trying to migrate my project from ant to maven, but I'm facing a few difficulties; I need to build my project for different environments (customers, so possibly a long list). In my ant project, I had several .properties file, one per customer; in this file, I had properties used to

Re: dynamically select resources and apply filtering

2013-02-25 Thread Jean-Noël Colin
the package only once. Best regards Jean-Noël On 25 Feb 2013, at 21:42, Adrien Rivard adrien.riv...@gmail.com wrote: On Mon, Feb 25, 2013 at 8:41 PM, Jean-Noël Colin jn.co...@gmail.com wrote: Hi I'm trying to migrate my project from ant to maven, but I'm facing a few difficulties; I

Re: dynamically select resources and apply filtering

2013-02-25 Thread Jean-Noël Colin
: Why not move the production of the software to Maven and leave the assembly in Ant. That would give you the best of both worlds. On 25/02/2013 2:41 PM, Jean-Noël Colin wrote: Hi I'm trying to migrate my project from ant to maven, but I'm facing a few difficulties; I need to build my