--- Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> does the directory > "C:/Dola/tomcat/webbapps/projecta" exist? ie, is the > > war already exploded? > Hi, I'm a weird JSP programmer. I've been at it for 4 years but I've never used war's. I simply store my .jsp's in the afore mensioned dir and compile the .classes into the appropriate directory. So yes, exists, is full of .jsp's, has WEB-INF with a web.xml Thank you for your other suggestion. I will definitely investigate it soon. For now, I want to understand and master plain ant because it seems like a cool alternative to Makefiles. So any further advice on the error that I'm getting is greatly appreciated. Thanks! Dola > 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] > > __________________________________________________ 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]