4 Replies Latest reply on Mar 28, 2011 7:28 AM by EJP

    Dear Sir, please tell me how to run build.xml file using servlet.

      i am doing one web application, in that i need to execute build.xml file which contains ant script. for that already wrote some code but it is not working. here i am sending the code, please correct the code.thank you sir...

      Process p=Runtime.getRuntime().exec("C:/user/1/execute.bat");     

      In the execute.bat file the data is "ant"