cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject RE: cvs commit: cocoon-2.1/tools/src/anttasks XConfToolTask.java
Date Fri, 16 May 2003 12:25:43 GMT



On Fri, 16 May 2003, Geoff Howard wrote:

> At 03:16 AM 5/16/2003, Giacomo wrote:
> >Thanks, Giacomo!
> >
> >Carsten
> >
> > > giacomo     2003/05/16 00:06:10
> > >
> > >   Modified:    tools/src/anttasks XConfToolTask.java
> > >   Log:
> > >   Make sure an existing DOCTYPE will get serialized back into
> > >   the patched file. This patch finally enables manipulations of
> > >   web.xml and jetty conf file, too.
>
> Ooh, how would one now go about manipulating web.xml for example?  Just
> a hint?

Use the following lines in your ANT scripts.

    <xpatch file="${build.webapp}/WEB-INF/web.xml"
            srcdir="${conf}"
            includes="**/*.xweb"/>

Or some other extensions.

Stephan.


Mime
View raw message