You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marco Mistroni <mm...@gmail.com> on 2006/05/21 13:36:33 UTC

filtering web.xml

hello all,
    i was wonderring, is there a way, in Maven2, to filter also web.xml (i
placed it in src/main/webapp/WEB-INF) directory without resortingto a
hardcocded ant task taht copies the file from /resources/ to webapp/WEB-INF?

thanks and regards
 marco

Re: filtering web.xml

Posted by Marco Mistroni <mm...@gmail.com>.
Hello Mark,
  thx...  it worked just fine....

rgds
 marco

On 5/21/06, Mark Hobson <ma...@gmail.com> wrote:
>
> Just tested whether web resource filtering also filters web.xml and it
> does.  Check this thread for details on web resource filtering itself:
>
> http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.html
>
> Mark
>
> On 21/05/06, Kevin Galligan <ma...@kgalligan.com> wrote:
> > I've been having some issues with things like this in the war
> build.  There
> > is a way to process resources in the war build plugin.  You'll have to
> dig
> > around the mailing list for 'webResources'.
> >
> > If what you want to do is more complicated, you can take a look at this
> > thread...
> >
> > http://www.nabble.com/war+lifecycle-t1646489.html#a4471351
> >
> > I'm using this for processing on some jsp files, as mentioned in the
> > thread.  It works.
> >
> > On 5/21/06, Marco Mistroni <mm...@gmail.com> wrote:
> > >
> > > hello all,
> > >     i was wonderring, is there a way, in Maven2, to filter also
> web.xml (i
> > > placed it in src/main/webapp/WEB-INF) directory without resortingto a
> > > hardcocded ant task taht copies the file from /resources/ to
> > > webapp/WEB-INF?
> > >
> > > thanks and regards
> > > marco
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: filtering web.xml

Posted by Mark Hobson <ma...@gmail.com>.
Just tested whether web resource filtering also filters web.xml and it
does.  Check this thread for details on web resource filtering itself:

http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.html

Mark

On 21/05/06, Kevin Galligan <ma...@kgalligan.com> wrote:
> I've been having some issues with things like this in the war build.  There
> is a way to process resources in the war build plugin.  You'll have to dig
> around the mailing list for 'webResources'.
>
> If what you want to do is more complicated, you can take a look at this
> thread...
>
> http://www.nabble.com/war+lifecycle-t1646489.html#a4471351
>
> I'm using this for processing on some jsp files, as mentioned in the
> thread.  It works.
>
> On 5/21/06, Marco Mistroni <mm...@gmail.com> wrote:
> >
> > hello all,
> >     i was wonderring, is there a way, in Maven2, to filter also web.xml (i
> > placed it in src/main/webapp/WEB-INF) directory without resortingto a
> > hardcocded ant task taht copies the file from /resources/ to
> > webapp/WEB-INF?
> >
> > thanks and regards
> > marco
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: filtering web.xml

Posted by Kevin Galligan <ma...@kgalligan.com>.
I've been having some issues with things like this in the war build.  There
is a way to process resources in the war build plugin.  You'll have to dig
around the mailing list for 'webResources'.

If what you want to do is more complicated, you can take a look at this
thread...

http://www.nabble.com/war+lifecycle-t1646489.html#a4471351

I'm using this for processing on some jsp files, as mentioned in the
thread.  It works.

On 5/21/06, Marco Mistroni <mm...@gmail.com> wrote:
>
> hello all,
>     i was wonderring, is there a way, in Maven2, to filter also web.xml (i
> placed it in src/main/webapp/WEB-INF) directory without resortingto a
> hardcocded ant task taht copies the file from /resources/ to
> webapp/WEB-INF?
>
> thanks and regards
> marco
>
>