Jan:
Thanks.  Learnt something new today.
mani

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 05, 2004 3:23 AM
To: [EMAIL PROTECTED]
Subject: RE: Echo a patternset

Define a property and use the refid:

<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="test" basedir="." default="main">

  <fileset    id="fs" dir="." includes="*.xml"/>
  <patternset id="ps" includes="*.txt"/>

  <property name="fs.value" refid="fs"/>
  <property name="ps.value" refid="ps"/>

  <echo>
    fileset    : ${fs.value}
    patternset : ${ps.value}
  </echo>

</project>

Buildfile: build.xml
     [echo]
     [echo]   fileset    : build.xml
     [echo]   patternset : patternSet{ includes: [*.txt] excludes: [] }


Jan

> -----Original Message-----
> From: Mani G. Iyer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 04, 2004 5:19 PM
> To: 'Ant Users List'
> Subject: RE: Echo a patternset
> 
> 
> Hello:
> Try the <pathconvert> task. HTH.
> mani
> 
> -----Original Message-----
> From: Neta Bar Tal [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 04, 2004 7:59 AM
> To: [EMAIL PROTECTED]
> Subject: Echo a patternset
> 
> 
> Hi ,
> Do someone know how can I <echo> the content of a fileset or 
> patternset?
> 
> 
> thanks
> 
> 
> 
> Neta Bar-Tal
> 
> * 972-9-7960521
> 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> The information contained in this message is proprietary of Amdocs,
> protected from disclosure, and may be privileged.
> The information is intended to be conveyed only to the designated
> recipient(s)
> of the message. If the reader of this message is not the intended
> recipient,
> you are hereby notified that any dissemination, use, distribution or
> copying of
> 
> this communication is strictly prohibited and may be unlawful.
> 
> If you have received this communication in error, please notify us
> immediately
> by replying to the message and deleting it from your computer.
> Thank you.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to