If you have
  <fileset id="yourid" .../>

you could directly use
  <echo>${toString:yourid}</echo> 

or convert to your needs with 
  <pathconvert ...><fileset refid="yourid"/>


Jan

>-----Ursprüngliche Nachricht-----
>Von: Redondo Gallardo, Raul Maria 
>[mailto:rmredo...@eservicios.indra.es] 
>Gesendet: Donnerstag, 6. August 2009 10:22
>An: Ant Users List
>Betreff: RE: View which contains a filset
>
>Thank you very much.
>
>
>-----Mensaje original-----
>De: Rebhan, Gilbert [mailto:gilbert.reb...@huk-coburg.de] 
>Enviado el: jueves, 06 de agosto de 2009 10:18
>Para: 'Ant Users List'
>Asunto: RE: View which contains a filset
>
> 
>-----Original Message-----
>From: Redondo Gallardo, Raul Maria
>[mailto:rmredo...@eservicios.indra.es] 
>Sent: Thursday, August 06, 2009 10:11 AM
>To: Ant Users List
>Subject: View which contains a filset
>
>/*
>I want to know if is ti possible to know the content of a fileset, I've
>tried with:
>
><echo>
><fileset dir="D:\path">
> <include name="**/*V2.txt"/>
>
></fileset> 
></echo>
>*/
>
><fileset dir="..." id="yourid"  .../>
>
><echo>${toString:yourid}</echo>
>
>/*
>But return an error. Is this possible? How can I use each element of a
>fileset to do several things for each one?
>*/
>
>
><for param="file">
>  <path>
>    <fileset dir="..." includes="..."/>
>  </path>
>  <sequential>
>   ... do something with @{file} ...
>  </sequential>
></for>
>
>
>Regards, Gilbert
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
>For additional commands, e-mail: user-h...@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
>For additional commands, e-mail: user-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to