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:
<webinf>
    <fileset dir="${conf.dir}">
        <include name="TurbineResources.properties"/>
        <include name="intake.xml"/>
    </fileset>
    <fileset dir="path/to/custom/conf" includes="file.properties"/>
</webinf>

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.properties 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?

-warner

----- Original Message -----
From: "Paul Cody" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
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:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to