Hey all, I am trying to learn ANT and would love some help if there is any out there. I am trying to do something along the lines of moving every file that I have in a directory over to an Oracle database using the loadjava utility in Oracle. I am guessing that I will have to do this by:
1. looping through some kind of control statement while reading each .java file name in my directory
2. using the current value of some variable to specify what .java file I am moving (each loop through)
Here is what my load java command line argument looks like when I do it manually:
I�m not looking for a free answer to my problem, maybe just a point in the right direction. I�ve been to the
manual at ant.apache.org to read up a bit. After what I�ve read so far I think I may want to use the <arg/> tag, but I don�t know how I�m going to dynamically get all of the file names in a directory or how to do the looping. Here�s where I�m stuck in my buildfile (this could be WAY off from what it should be):
Any info would be great, Thanks!
EDIT:
I just saw the
link at the top of the ANT, Maven and Other Build Tools forum page. I'll try looking there really quick.
[ July 25, 2005: Message edited by: Chris Staten ]
[ July 25, 2005: Message edited by: Bear Bibeault ]