Calling ant - No errors but no result
I am trying to call ant to run a build script once my servlet is hit. I have no clue as to why the following code doesn't work:
String baseDir = getServletContext().getRealPath("/WEB-INF/ant/");
File buildFile = new File(baseDir, "build.xml");
//yes i know its deprecated
ProjectHelper.configureProject(project, buildFile);
All of the necessary libs are there (ant.jar and ant-launcher.jar) and I verified that once the servlet is hit the build.xml is found and opened:
java.exe:5740READC:\tomcat\webapps\xxx\WEB-INF\ant\build.xmlSUCCESSOffset: 1 Length: 1
I made the script just mkdir to ensure I had no typos or stupid errors.
Any ideas?

