Thank you very much Jan,

In this way.... how can I process this fileset to get the path to move to the 
folder and then do something? Is this possible?

Sorry, I'm new with ANT and I've looking for the help about fileset but not 
understand it well.

Thank you very much.

Raúl

-----Mensaje original-----
De: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] 
Enviado el: miércoles, 05 de agosto de 2009 10:13
Para: user@ant.apache.org
Asunto: AW: Search for folders and access them

Ant does "not go into" a folder.
It scans them. 
You could define a <fileset> which returns only the paths to these files:

<fileset dir="." includes="**/certain.file"/>

Here the wildcard "**" is interesting: every subdirectory including recursive.
If you only want the directories directly under "." choose the "*" wildcard.


Jan



>-----Ursprüngliche Nachricht-----
>Von: Redondo Gallardo, Raul Maria 
>[mailto:rmredo...@eservicios.indra.es] 
>Gesendet: Mittwoch, 5. August 2009 09:34
>An: Ant Users List
>Betreff: Search for folders and access them
>
>Hello Users,
>
> 
>
>I'm working with a folders hierarchy and I don't know the names of the
>subfolders. Is it possible with ANT to go into every subfolder which
>exist or I must use an external application?
>
> 
>
>I want to check every folder to see if contains a certain file and do
>things depending the file contained into the folder. The actions I know
>how to do it with ANT, but not the way to search into all subfolders.
>
> 
>
>Can anyone help me?
>
> 
>
>Thank you very much.
>
> 
>
>Best regards,
>
> 
>
> 
>
>

---------------------------------------------------------------------
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