Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

AW: possible to recurse through directory to see if a file exists in a subdirectory

Jan Materne

2010-08-13


Author LoginPost Reply
>I need to find out if a certain file with a standard naming
>convention exists in a subdirectory. I would like to either
>have the directory path output to either the screen or a txt
>file. Either is okay.

Quick idea is something like

<pathconvert>
  <fileset dir="" includes="the-search-file"/>
  <mapper/>
</pathconvert>

You have to search for the right mapper ...


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.