ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Lipp" <>
Subject invoking ant from jsp on win2k
Date Fri, 13 Sep 2002 14:07:33 GMT
sorry for another post, but all previous solutions mentioned didn't work.

My case plain spoken:
Used API in jsp and tried to fire up ant with given path to build-file
which works all in a dos-box:
<%@ page import=""%>
<%@ page import=""%>
<%@ page import=""%>
    Project project = new Project();
    ExecTask exec = new ExecTask();
    Commandline.Argument arg = exec.createArg();
    e:/jakarta-tomcat-3.2.3/webapps/vignette_dev/build.xml");    exec.execute();


tomcat error:

javax.servlet.ServletException: Execute failed:
CreateProcess: ant.bat -buildfile
e:/jakarta-tomcat-3.2.3/webapps/vignette_dev/build.xml error=2
What went wrong? Is it that windows? Does sombody has a solution?



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message