This sounds very simmilar to the setup we have here -- everything was
already in property files. I found the key to simplifying things is to have
and enforce a standardized naming convention. Since that was already in
place when I looked into maven, picking the correct property file was
trivial:
On 21/01/2011 1:19 PM, Jeff wrote:
Either I'm not explaining things well enough or you are assuming something
different and I think that is the confusion ... I am not building or using
the application projects or source code. I'm not dealing with application
deployment, they are already deployed
Either I'm not explaining things well enough or you are assuming something
different and I think that is the confusion ... I am not building or using
the application projects or source code. I'm not dealing with application
deployment, they are already deployed via other means and processes that I
Still not sure why you need deployment or test configurations in your
applications
You are not the first person to build an N-tiered web application with
many servers.
Why can you not put debugging levels and BaseURLs in JNDI?
Those seem pretty simple things to deal with.
You are not the fir
I don't want to debate our architecture or processes since I have little to
do with defining them, but its an N-tiered web application comprising from
one to dozens of servers. Many of the tests are Selenium Integration tests
on Windows clients hitting remote servers that are mostly Linux. We ha
Is there any reason why deployment and server specific configurations
are mixed in with your code?
This is not a good thing and usually not needed.
When you configure a server, you should be able to include this
information in the server configuration not in the application code.
1) The appli
Thanks all for the comments. If there is a better way to do what I need,
then I welcome help to understand how to do it right.
We have configurations we need to load for the various development and
testing environments (unit and integration).
I've been working to put the specific configuation in
> I'm new to Maven and am building a POM with profiles. I want to be able to
Then you are most likely doing things "wrong." Is there no other way
to build/test your app without using profiles?
> Currently the value of the "config" system property is equivalent to the
> value of the profile id.
We have had long discussions about why profiles are not the right way to
deal with environment/deployment issues.
Ron
On 20/01/2011 3:05 AM, Anders Hammar wrote:
Not that I know of, no.
In your example, why don't you just specify the value ('staging') in the
confgiuration of the surefire plug
Not that I know of, no.
In your example, why don't you just specify the value ('staging') in the
confgiuration of the surefire plugin?
/Anders
On Thu, Jan 20, 2011 at 07:52, Jeff wrote:
> I'm new to Maven and am building a POM with profiles. I want to be able to
> set a system property that c
I'm new to Maven and am building a POM with profiles. I want to be able to
set a system property that contains the value of the current profile(s).
Currently I have multiple profiles that each relate to different web app
servers (dev, test, staging, etc.) in our dev/test environment. I want the
11 matches
Mail list logo