tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schildbach <>
Subject Re: Problem with including JspC generated web.xml fragment
Date Tue, 18 Jan 2005 16:00:54 GMT
Tim Funk wrote:

> The jasper2 task edits web.xml in place. That being said, make sure your 
> build process creates a build directory. Copies all we resources to the 
> build directory (including web.xml), then compile and classes to 
> WEB-INF/classes (or compile and jar them), then run the jasper2 task to 
> in place edit web.xml. The advantage is make clean becomes a dir removal 
> and a rebuild is *very* easy.

Sorry, it still does not work.

I have a fully functional, non-precompiled web application in dist/war.

I am trying to transform it into a precompiled web app in place, using 
the following Ant tasks:

<taskdef classname="org.apache.jasper.JspC" name="jasper2">
	<classpath id="jspc.classpath">
		<fileset dir="${env.CATALINA_HOME}/common/lib"><include 
		<fileset dir="dist/war/WEB-INF/lib"><include name="**/*.jar"/></fileset>


When executing the target that contains the tasks with Eclipse 3.1M4 
(which contains Ant 1.6.2), I just get

BUILD FAILED: C:\eclipse-3.1M4\workspace\myapp\build.xml:86: 

My CATALINA_HOME environment variable points to an installation of 
Tomcat 5.0.28. I am using Windows XP SP2.

Is there anything I can do to debug this problem? Where can I read the 
stack trace of the exception?



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

View raw message