ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petar Tahchiev <paranoia...@gmail.com>
Subject Re: specifying include files in a <lib> in the <war>
Date Thu, 12 Jan 2006 17:13:12 GMT
On 12/01/06, General Email <generalemail89@yahoo.com> 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!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message