ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Tu <...@adobe.com>
Subject RE: find file in specify directory and its sub-directory
Date Tue, 07 Oct 2008 17:50:09 GMT
Scot,
Thank you for your response. This returns the number of files not the list of actual files.
Ben

-----Original Message-----
From: Scot P. Floess [mailto:floess@mindspring.com]
Sent: Tuesday, October 07, 2008 10:28 AM
To: Ant Users List
Subject: Re: find file in specify directory and its sub-directory


You might check the resourcecount target

On Tue, 7 Oct 2008, Ben Tu wrote:

> Hi,
> I would like to accomplish the similar task below in ant script.
> Does anyone know how?
>
> find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt
>
> thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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