>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
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
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
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/
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
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.
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
"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
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
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
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
11 matches
Mail list logo