4 Replies Latest reply: Mar 28, 2011 2:28 AM by EJP RSS

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

    850627
      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"