ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kavitha Ranga <>
Subject JSP precompile
Date Fri, 12 Dec 2003 18:23:20 GMT
   I am trying to precompile JSP pages which
contain struts taglibs.

I get the following error:
  [jasperc] error:org.apache.jasper.JasperException: Error compiling
  [jasperc]     at org.apache.jasper.JspC.processFile(
  [jasperc]     at org.apache.jasper.JspC.execute(
  [jasperc]     at org.apache.jasper.JspC.main(

which tells me nothing.
Any clue as to what I am doing wrong?

The snippet from my build script where I am precompiling is

<target name="precompileJSP" depends="init">
              <mkdir dir="${jar.dir}/precompiled" />
              <jspc destdir="${jar.dir}/precompiled"
srcdir="${build.dir}/${project.src}/web/MyApp" compiler="jasper"

classpath="/opt/app/jboss/tomcat-4.1.x/common/lib/jasper-compiler.jar" >
location="/opt/app/jboss/tomcat-4.1.x/common/lib/servlet.jar" />
location="/opt/app/jboss/tomcat-4.1.x/common/lib/jasper-runtime.jar" />
location="/opt/app/ant/jakarta-ant-1.5.1/lib/ant.jar" />
location="/opt/app/jboss/server/all/lib.struts.jar" />
                  <include name="**/*.jsp" />

Thanks in advance.

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

View raw message