raju,
it is more a java question than ant question
you could googling on 'using runtime exec ant bat' and 'runtime exec and
parameters'...
supareno
Hi,
i have a file called test.bat within which i have ant command:
test.bat:
---------
echo %foo% help
echo %ID% help
ant -f ./build.xml main
I am trying to invoke ant from a java program:
Process p = Runtime.getRuntime().exec("./test.bat", new
String[]{"foo=bar","ID=38"});
Ant command doesn't seem to be invoked.
Please let me know any suggestions/solutions if anyone has tried similar
thing.
Regards
Raj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]