ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Oatham" <matthewoat...@hotmail.com>
Subject Re: jspC
Date Fri, 21 Mar 2003 17:16:12 GMT
I too found it interesting so I tried with the verbosity level unset -
default is 0. And again the same result:

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

Any more ideas?

Cheers.

Matt

----- Original Message -----
From: "Nathan Christiansen" <Nathan_Christiansen@tni.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Friday, March 21, 2003 5:08 PM
Subject: RE: jspC


I find it interesting that the return value was the same as your verbosity
setting.

If you set your verbose="0" does it run successfully?
(Just a guess.)

-- Nathan Christiansen
   Tahitian Noni International
   http://www.tahitiannoni.com


-----Original Message-----
From: Matthew Oatham [mailto:matthewoatham@hotmail.com]
Sent: Friday, March 21, 2003 10:04 AM
To: user@ant.apache.org
Subject: jspC


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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



Mime
View raw message