Look at FileSet in the user manual.
A FileSet can be based upon a file, that contains a list (line seperated)
of files to include.
Another file cna be used to exclude a list of files.
If you can, think about your logic use, and modify to suit.
T Master.
From: <Christine.Woon@nurun.com>
Sent: Wednesday, October 17, 2001 7:30 AM
Subject: search for words in a file
> I am new at Ant, and was curious if there is any task to search for a
> specific word i.e 'main' in a file.
> If the word doesn't exist then include it in a fileset, otherwise ignore
> it.
|