You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sjoerd Schunselaar <s....@gmail.com> on 2009/09/08 12:03:44 UTC
os filtering for profile depended web.xml
Hello all,
At the moment I have 2 profiles in my pom.xml , which set the property
"targetEnv" to dev or prod. I've two directories (dev and prod) which
contains the different web.xml files.
For the correct usage with Jetty, I use the following property in the
Jetty plugin:
<webXml>src/main/filters/${targetEnv}/web.xml</webXml>.
Now I have a os depended variable (directory path) in my web.xml which
I would like to filter. Maybe it's possible to create another 2
profiles and duplicate the web.xml files, but then I can't use the
same profile id. Does anyone can suggest a more clever solution?
Thank you,
Sjoerd Schunselaar
met vriendelijke groet,
Sjoerd Schunselaar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org