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
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:
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
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
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
: 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
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
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
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