does the directory "C:/Dola/tomcat/webbapps/projecta" exist? ie, is the
war already exploded?
also, there is another mechanism to precompile your JSP files, the
solution below, will compile the files just as Tomcac would runtime, and
you will not lose the ability to recompile JSP files post tomcat start.
huge benefit if you feel the need to patch JSP pages, but want to gain
the benefit of precompilation.
http://people.apache.org/~fhanik/precompile.html
Filip
Dola Woolfe wrote:
Hi, (previous thread got sidetracked)
I'm working with the standard build.xml example and
the
command
ant -v jspc -Dtomcat.home=C:/Dola/tomcat
-Dwebapp.path=C:/Dola/tomcat/webbapps/projecta
causes the following error when executed from the
C:\Dola\MyProject directory:
C:\Dola\MyProject\build.xml:21:
org.apache.jasper.JasperException: The -uriroot option
must specify a pre-existing directory
How do I fix it?
Also, it seems that I had to add the following
classpath to the script:
<pathelement
location="${tomcat.home}/bin/commons-logging-api.jar"/>
Is that correct?
Very many thanks in advance!
Dola
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]