ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warner Onstine" <>
Subject Re: war task and webinf
Date Wed, 13 Mar 2002 03:30:54 GMT
Apparently I'm not being clear, or I am misunderstanding you (probably both

I have several configuration files (this is a turbine app) that reside in
WEB-INF/conf, currently they are scattered through my source directory.

If I do this:
    <fileset dir="${conf.dir}">
        <include name=""/>
        <include name="intake.xml"/>
    <fileset dir="path/to/custom/conf" includes=""/>

If I am correct this will copy everything in ${conf.dir} into WEB-INF
(unless I am completely unclear on how the task works =) and the file into WEB-INF as well.

Now if <webinf> treats <filesets> differently it should really be mentioned
in the docs. But regardless, how would I treat my custom properties file and
how would I tell the <war> task explicitly which folder to put it in?


----- Original Message -----
From: "Paul Cody" <>
To: "'Ant Users List'" <>
Sent: Tuesday, March 12, 2002 8:12 PM
Subject: RE: war task and webinf

> >
> > But doesn't that just shove everything into WEB-INF ?
> >
> Yes, but since its a fileset, you tell how much to shove with nested
> <include> and <exclude> tags.
> Paul
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message