ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riffe, Melvin" <>
Subject RE: using comma or space seperated list in <include> inside a <fi leset>
Date Thu, 26 Dec 2002 17:21:42 GMT
I believe the documentation refers to the "includes" attribute, not the
"include" element.

however, you can do:

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

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


Mel Riffe

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

	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.


Both work

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

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

Neither work

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

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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>
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:   <>
For additional commands, e-mail: <>

View raw message