You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dean Hiller <dh...@avaya.com> on 2003/01/04 17:56:00 UTC

comma separated includes??

Anybody know the answer to the below question?  I also have to have a 
comma separate list and
doing *.jar is not going to be acceptable for me.
thanks,
Dean


-----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>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: comma separated includes??

Posted by Jacob Kjome <ho...@visi.com>.
<include> takes one and *only* one file.  The "includes" attribute of the 
<fileset> element takes a comma separated list of files.

Jake

At 09:56 AM 1/4/2003 -0700, you wrote:
>Anybody know the answer to the below question?  I also have to have a 
>comma separate list and
>doing *.jar is not going to be acceptable for me.
>thanks,
>Dean
>
>
>-----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>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>