Tuesday, July 2, 2002 12:59 PM
I am trying to call an ant script in a for loop from within a Java program. It make one call just fine, but does not return control to my Java program for further iterations through the loop.
Here is a code snippet...
String antCommandParams = new String;
antCommandParams = "-Dfiletype=" + currentDirectory;
antCommandParams = "-Ddatafile=" + datafiles[j];
Main.start(antCommandParams, null, null);
Re: Calling ant from Java in a loop
Tuesday, July 2, 2002 03:03 PM