You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Riffe, Melvin" <me...@capitalone.com> on 2002/12/26 18:21:42 UTC

RE: using comma or space seperated list in inside a

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:Merrick.Wee@state.mn.us]
Sent: Thursday, December 26, 2002 11:49 AM
To: 'ant-user@jakarta.apache.org'
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
 
**************************************************************************
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>