ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: replacing text in a file during a copy
Date Thu, 21 Nov 2002 22:38:29 GMT

----- Original Message -----
From: "Kevin HaleBoyes" <kzboyes@yahoo.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, November 21, 2002 11:06 AM
Subject: replacing text in a file during a copy


> I have a web application deployment descriptor web.xml in a file.
> I've run the JspC task with the -webinc arguement which creates a
> portion of the deployment descriptor (webinc.xml) for the JSP
> mappings.
>
> I need to merge the webinc.xml file into the web.xml file when
> I build my project.
>
> I've tried the <loadfile> task with a <filterchain> which didn't
> work.  I've also tried the <copy> task with a <filterset> but that
> also didn't work.

I use xdoclet to build by web.xml's; it takes merge files alongside
@webdoclet tags in the source. look at xdoclet.sf.net


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message