Hi,

The trick here is to put your source web.xml file in another directory (such as src/main/resource2) and configure the war plugin as described at <http://maven.apache.org/plugins/maven-war-plugin/ examples/adding-filtering-webresources.html>.

Then you can use the war:inplace goal to build the correct version of things in your normal src/main/webapp directory tree, which can then be "hot-deployed" to your favourite application server.

Cheers,

Steve Coy

On 30/07/2007, at 4:48 AM, Jan Torben Heuer wrote:

Hi,

i'd like to use ${parameters} in my WEB-INF/web.xml and other configuration
files.

If I do a mvn tomat:deploy everything is fine, my files are filtered.

But I cannot debug my project inside eclipse, because I would need filtered
files, however I have ${parameter} expression in this files...


How do you handle this? It seems to be impossible to tell wtp using
the /target/... folder instead :-(


Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to