You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jo...@fwd.at on 2003/03/30 13:21:31 UTC

Jasper2 (JSPC) compiler option for WEB-INF directory?

Hi there,

I have the following file structure:
/jsp/myfile.jsp
/web/WEB-INF/web.xml
/web/WEB-INF/c.tld

When I run ant jspc, it looks for the web.xml file in the 
/jsp/WEB-INF/web.xml directory. 
So I always have to copy the /web/WEB-INF folder to the jsp directory.

Is there a way to tell the jasper2 task where to find the WEB-INF 
directory??

At first glance it seems there is no option for this available:
<jasper2
             validateXml="false"
             uriroot="${basedir}/jsp"
             webXmlFragment="${basedir}/webinc.xml"
             outputDir="${basedir}/src" />


thx alot
Johannes