ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Oatham" <matthewoat...@hotmail.com>
Subject jspC
Date Fri, 21 Mar 2003 17:03:40 GMT
Hi,

I am running the jspc task in a target as follows:

  <jspc srcdir="${src.dir}"
        destdir="${dest.dir}"
        verbose="9">
      <classpath>
        <pathelement location="${jboss.home}\catalina\lib\jasper-compiler.jar" />
        <pathelement location="${jboss.home}\jboss-3.0.3_tomcat-4.0.5\catalina\lib\jasper-runtime.jar"
/>
        <pathelement location="${jboss.home}\jboss-3.0.3_tomcat-4.0.5\catalina\common\lib\servlet.jar"
/>
        <pathelement location="${build.dir}" />
        <pathelement location="${j2ee.home}\lib\j2ee.jar" />
      </classpath>
      <include name="**/*.jsp" />  
  </jspc>

Every thing seems to run through OK, takes a while and I end up with the same number of .java
files as I had .jsp files but I get the error:

BUILD FAILED
file:C:/Development/ant/testJspc.xml:8: Java returned: 9

What does that mean? Is it a task bug or a tomcat jspc bug? I want to be sure everything works
and I don't think the rest of my dev team will be filled with confidence in me when they see
the error BUILD FAILED !!!

Thanks.

Matt

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message