Re: Project structure help

2011-03-11 Thread Ron Wheeler
On 11/03/2011 5:03 PM, Greg Akins wrote: Thanks for your reply. On Fri, Mar 11, 2011 at 3:14 PM, Ron Wheeler > wrote: On Tue, Mar 1, 2011 at 9:27 AM, Greg Akinsmailto:angryg...@gmail.com>> wrote: You would be surprised at the amount of discuss

Re: Project structure help

2011-03-11 Thread Greg Akins
Thanks for your reply. On Fri, Mar 11, 2011 at 3:14 PM, Ron Wheeler wrote: > >> >> On Tue, Mar 1, 2011 at 9:27 AM, Greg Akins wrote: > You would be surprised at the amount of discussion there is on this point. > You have it right. I can imagine :-) > > Keeping your server(localhost, all the

Re: Project structure help

2011-03-11 Thread Ron Wheeler
On 11/03/2011 1:23 PM, Greg Akins wrote: On Tue, Mar 1, 2011 at 9:27 AM, Greg Akins wrote: Thanks for everyone's advice. The CM, Team Lead and I are going to go over some options next week. I'll update the group and will probably have some more question when we decide on the best options.

Re: Project structure help

2011-03-11 Thread Greg Akins
On Tue, Mar 1, 2011 at 9:27 AM, Greg Akins wrote: > Thanks for everyone's advice. > > The CM, Team Lead and I are going to go over some options next week. > I'll update the group and will probably have some more question when > we decide on the best options. > > > I'm back to this finally. I hav

Re: Project structure help

2011-03-01 Thread Greg Akins
Thanks for everyone's advice. The CM, Team Lead and I are going to go over some options next week. I'll update the group and will probably have some more question when we decide on the best options. -- Greg Akins http://twitter.com/akinsgre -

Re: Project structure help

2011-02-28 Thread Ron Wheeler
On 28/02/2011 8:56 AM, Greg Akins wrote: I would like some advice for structuring "config" files in a Maven Project. Could someone give me some suggestions, or pointers to more information? The project needs different config files for each environment (dev, qa, stage, production1, production2).

Re: Project structure help

2011-02-28 Thread Greg Akins
Thanks Anders.. On Mon, Feb 28, 2011 at 9:34 AM, Anders Hammar wrote: > > This has been the discussion several times before, so you should find lots > of info in the archive. You shouldn't need to go back more than a few > months. > Search for keywords like "properties jndi config environment" et

Re: Project structure help

2011-02-28 Thread Anders Hammar
No, he does not! Using profiles to create different result based on environment is an anti-pattern. In Maven specifically, but also in general for builds. Your CM is right. Your artifact (war or what ever) should be environment generic. Keep the configs outside. This has been the discussion severa

Re: Project structure help

2011-02-28 Thread Greg Akins
Thank you Ondřej > This tutorial should give you all information you need: > > http://www.manydesigns.com/documentation/tutorials/using-maven-profiles-and-resource-filtering.html That's a bit better than what I'm currently doing (which is using profiles, but keeping multiple copies instead of usi

Re: Project structure help

2011-02-28 Thread Ondřej Světlík
Dne 28.2.2011 14:56, Greg Akins napsal(a): I would like some advice for structuring "config" files in a Maven Project. Could someone give me some suggestions, or pointers to more information? The project needs different config files for each environment (dev, qa, stage, production1, production2

Re: Project structure help

2011-02-28 Thread Ondřej Světlík
Dne 28.2.2011 14:56, Greg Akins napsal(a): I would like some advice for structuring "config" files in a Maven Project. Could someone give me some suggestions, or pointers to more information? The project needs different config files for each environment (dev, qa, stage, production1, production2

Project structure help

2011-02-28 Thread Greg Akins
I would like some advice for structuring "config" files in a Maven Project. Could someone give me some suggestions, or pointers to more information? The project needs different config files for each environment (dev, qa, stage, production1, production2). Right now, in another Mavenized project,