1

Is it possible to use or alternate the used web.xml on an environment based basis?

I am using maven, and i am thinking that it might be possible to switch?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
mjs
  • 21,431
  • 31
  • 118
  • 200

1 Answers1

1

Consider

maven profiles

Then send your system parameter using command line

mvn groupId:artifactId:goal -P %your env_var%

Or use maven-antrun-plugin so you can process the env variable in ant of without e contrib-if

JavaSheriff
  • 7,074
  • 20
  • 89
  • 159