On 12/01/06, General Email <[EMAIL PROTECTED]> wrote:
>
> I'd like to specify a list of files to include in the <lib> inside a <war>
> task.
> Looks like this:
>
> <lib dir="c:/lib">
>
> <includes name="webService.jar,
> common.jar,
> utils.jar,/>
>
> </lib>
>
> <lib> specifies a <fileset> which I though supported <includes> with a
> comma separated list of files to include. However I get an error saying
> that <lib> doesn't support includes and I'm forced to change to <include>
> (without the 's') and include each file individually.
> How can I get around this and specify a list of files?
>
> Thnx.
>
>
> ---------------------------------
> Yahoo! Photos – Showcase holiday pictures in hardcover
> Photo Books. You design it and we'll bind it!
>
I can't see what is the problem with :
<fileset dir="c:\lib">
<include name="**/*.jar"/>
</fileset>
0h, and also you forgot to close your quotations marks here:
utils.jar,/>
Doesn't ant complains it?
--
Regards, Petar!