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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to