ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: View which contains a filset
Date Thu, 06 Aug 2009 09:33:26 GMT
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:rmredondo@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.Rebhan@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:rmredondo@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-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message