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 -- View this message in context: http://www.nabble.com/Invoking-Ant-with-Runtime.exec%28%29-tp16273698p16273698.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]