Java Mailing List Archive

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

Home » Ant Users List »

Ant task to find in files

Ext Manish Shah

2008-07-10

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi there,

I'd like to seach the files in a fileset and fail my build if any file
contains a certain string.

Is there any functionality in Ant that can do this? I've seen the
Replace task, but all I want is a Find task.

It seems such an obvious emmision, that I'm sure I just don't know what
to look for.

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