I believe the documentation refers to the "includes" attribute, not the
"include" element.

however, you can do:

<fileset dir="${dir.lib}">
  <include name="**/*.jar"/>
</fileset>

to include every jar file in ${dir.lib}

HTH

Mel Riffe

-----Original Message-----
From: Wee, Merrick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:49 AM
To: '[EMAIL PROTECTED]'
Subject: using comma or space seperated list in <include> inside a
<fileset>


Hello,
        I've been trying to use the comma or space sperated list inside an
include tag inside a fileset.  The documentation still states that this is a
feature however it won't
recognize anything once a add more than 1.  Has anyone encountered this?
Does anyone know of a working solution?  Any ideas are appreciated.

Thanks

Both work

<fileset dir="${dir.lib}">
        <include name="log4j.jar"/>
</fileset>

<fileset dir="${dir.lib}">
        <include name="ant.jar"/>
</fileset>


Neither work

<fileset dir="${dir.lib}">
        <include name="log4j.jar,ant.jar"/>
</fileset>

<fileset dir="${dir.lib}">
        <include name="log4j.jar ant.jar"/>
</fileset>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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

Reply via email to