Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to?: run a custom Java program against a <fileset >

How to?: run a custom Java program against a <fileset >

2007-05-21       - By cknell@(protected)
Reply:     1     2  

I have prepared a Java program to use regexes to swap a list of strings for
others in a text file. I'd like to create an Ant <target> that would run the
program against a set of files located in a specific directory.

At first glance, it seems that I should be able to use the <fileset> type and
the <java> task to do this, but I can't find anything in the help files that
addresses this. During many years of learning new programming languages and
environments, I have learned that when I can't find any documentation on how to
do something that I think ought to be simple, it usually means that I have some
deep misunderstanding about the topic.

Can someone point me in the right direction? Must I develop a custom Ant task
to do this, or am I just overlooking something obvious.

Thanks.

--
Charles Knell
cknell@(protected) - email

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