Multiple packages with different configuration files

2010-11-22 Thread ilya.mayzel
Hello, I am new to this list and may just missed this topic discussion. I have a web application that I need to compile and package into war/ear/tar. This app need to be packaged with different configuration files (server names/IP addresses) for Dev/QA/Prod environments. However I don't want

Re: Multiple packages with different configuration files

2010-11-22 Thread Antonio Petrelli
2010/11/22 ilya.may...@ubs.com: This app need to be packaged with different configuration files (server names/IP addresses) for Dev/QA/Prod environments. This kind of info are better put in the server. For example, for JBoss, you can create a .properties file and put it inside:

Re: Multiple packages with different configuration files

2010-11-22 Thread Ron Wheeler
JNDI will do the job on Tomcat. Ron On 22/11/2010 1:47 PM, Antonio Petrelli wrote: 2010/11/22ilya.may...@ubs.com: This app need to be packaged with different configuration files (server names/IP addresses) for Dev/QA/Prod environments. This kind of info are better put in the server. For

RE: Multiple packages with different configuration files

2010-11-22 Thread Haszlakiewicz, Eric
that way. There's lots of way to do it; I'm not sure what the best one is. eric -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] Sent: Monday, November 22, 2010 1:03 PM To: users@maven.apache.org Subject: Re: Multiple packages with different configuration files

Re: Multiple packages with different configuration files

2010-11-22 Thread Ron Wheeler
Subject: Re: Multiple packages with different configuration files JNDI will do the job on Tomcat. Ron On 22/11/2010 1:47 PM, Antonio Petrelli wrote: 2010/11/22ilya.may...@ubs.com: This app need to be packaged with different configuration files (server names/IP addresses) for Dev/QA/Prod

RE: Multiple packages with different configuration files

2010-11-22 Thread ilya.mayzel
: Haszlakiewicz, Eric [mailto:ehas...@transunion.com] Sent: Monday, November 22, 2010 3:38 PM To: Maven Users List Subject: RE: Multiple packages with different configuration files Well those are some rather useless answers. JNDI will only do the job if you configure it that way. You need to get

Re: Multiple packages with different configuration files

2010-11-22 Thread Brian Smith
Email : ilya.may...@ubs.com -Original Message- From: Haszlakiewicz, Eric [mailto:ehas...@transunion.com] Sent: Monday, November 22, 2010 3:38 PM To: Maven Users List Subject: RE: Multiple packages with different configuration files Well those are some rather useless answers. JNDI

RE: Multiple packages with different configuration files

2010-11-22 Thread Yanko, Curtis
Message- From: ilya.may...@ubs.com [mailto:ilya.may...@ubs.com] Sent: Monday, November 22, 2010 6:19 PM To: users@maven.apache.org Subject: RE: Multiple packages with different configuration files Eric, Let me elaborate on the issue. I cannot use profiles as it will create only one

Re: Multiple packages with different configuration files

2010-11-22 Thread Barrie Treloar
On Tue, Nov 23, 2010 at 9:49 AM, ilya.may...@ubs.com wrote: Eric, Let me elaborate on the issue. I cannot use profiles as it will create only one distribution for me. I need to have the same compiled cod bundled with different config files for DEV/QA/PROD. Is there are any easy way to