RE: [m2] Filtering web.xml?

2008-02-26 Thread Henri Gomez
>I had similar problem with a webapp I developed few months ago, so I used this war filtering >feature to add build number and deploy time and other informations to jsp files as comment >tags filtered by maven. Could you tell us how you do that ? It's really simple to changes web.xml contents wit

RE: [m2] Filtering web.xml?

2008-02-04 Thread Allen, Daniel
ere? I may not know enough yet to seriously contribute to the documents, but I can manage small chores like cross-referencing. ;) Anyway, thanks for the link, Wayne. ~Dan Allen -Original Message- From: Allen, Daniel Sent: Monday, February 04, 2008 11:58 AM To: Maven Users List Subje

RE: [m2] Filtering web.xml?

2008-02-04 Thread Allen, Daniel
Nevermind about the overlays; I found a docs page on that. -Original Message- From: Allen, Daniel Sent: Monday, February 04, 2008 11:08 AM To: Maven Users List Subject: RE: [m2] Filtering web.xml? Wayne: I thought having war in your pom.xml was a shortcut to calling war:war, with Maven

RE: [m2] Filtering web.xml?

2008-02-04 Thread Allen, Daniel
fies overlays." -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 6:36 PM To: Maven Users List Subject: Re: [m2] Filtering web.xml? The war plugin has a configuration you can use for this : http://maven.apache.org/plugins/maven-war-plugin/

Re: [m2] Filtering web.xml?

2008-02-04 Thread Insitu
Hello, I had similar problem with a webapp I developed few months ago, so I used this war filtering feature to add build number and deploy time and other informations to jsp files as comment tags filtered by maven. Regards, -- Arnaud Bailly, PhD OQube - Software Engineering http://www.oqube.com

Re: [m2] Filtering web.xml?

2008-02-03 Thread James Carman
On 2/3/08, James Carman <[EMAIL PROTECTED]> wrote: > On 2/3/08, Insitu <[EMAIL PROTECTED]> wrote: > > "Allen, Daniel" <[EMAIL PROTECTED]> writes: > > > > > I'm building a web application (packaging WAR), and I need to run the > > > web.xml file through a filter to set certain configutation values.

Re: [m2] Filtering web.xml?

2008-02-03 Thread James Carman
On 2/3/08, Insitu <[EMAIL PROTECTED]> wrote: > "Allen, Daniel" <[EMAIL PROTECTED]> writes: > > > I'm building a web application (packaging WAR), and I need to run the > > web.xml file through a filter to set certain configutation values. I > > tried adding it to a tag, but that causes Maven to mak

Re: [m2] Filtering web.xml?

2008-02-03 Thread Insitu
"Allen, Daniel" <[EMAIL PROTECTED]> writes: > I'm building a web application (packaging WAR), and I need to run the > web.xml file through a filter to set certain configutation values. I > tried adding it to a tag, but that causes Maven to make a > copy of it and put it in WEB-INF/classes subdire

Re: [m2] Filtering web.xml?

2008-02-01 Thread Olivier Lamy
Hi, What you can try is to add your web.xml in resources with filtering to true. And set webXml in the mojo to ${project.build.outputDirectory}/web.xml. -- Olivier 2008/2/2, Allen, Daniel <[EMAIL PROTECTED]>: > I'm building a web application (packaging WAR), and I need to run the > web.xml file

Re: [m2] Filtering web.xml?

2008-02-01 Thread Wayne Fay
The war plugin has a configuration you can use for this : http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html That should do it... Wayne On 2/1/08, Allen, Daniel <[EMAIL PROTECTED]> wrote: > I'm building a web application (packaging WAR), and I need to run the > web.xml file through a

[m2] Filtering web.xml?

2008-02-01 Thread Allen, Daniel
I'm building a web application (packaging WAR), and I need to run the web.xml file through a filter to set certain configutation values. I tried adding it to a tag, but that causes Maven to make a copy of it and put it in WEB-INF/classes subdirectory with all of the rest of the resources. I tried