ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Echo a patternset
Date Wed, 05 May 2004 07:22:46 GMT
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:iyer@rcn.com]
> 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:NETAB@Amdocs.com] 
> Sent: Tuesday, May 04, 2004 7:59 AM
> To: user@ant.apache.org
> 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
> 
> *netab@amdocs.com
> 
> 
> 
> 
> 
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message