  | |  | Echo a patternset | Echo a patternset 2004-05-05 - By Jan.Materne@(protected)
Back 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@(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:NETAB@(protected)]
> Sent: Tuesday, May 04, 2004 7:59 AM
> To: user@(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
>
> *netab@(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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
|
|
 |