tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dima Gutzeit" <>
Subject Re: JSPC under Tomcat5.0.18
Date Mon, 26 Jan 2004 14:23:03 GMT
     <property name="tomcat.home"        value="D:\Tomcat5"/>
     <property name="tomcat.common"        value="D:\Tomcat5\common\lib"/>
     <property name="tomcat.bin"        value="D:\Tomcat5\bin"/>

     <!-- JSPC:  pre-compile JSPs -->
     <target name="jspc">
   <jspc srcdir="."
                 <fileset dir="${lib}">
                         <include name="*.jar"/>
                 <fileset dir="${tomcat.common}">
                         <include name="*.jar"/>
                    <fileset dir="${tomcat.bin}">
                         <include name="*.jar"/>

----- Original Message ----- 
From: "Ian Joyce" <>
To: <>
Sent: Monday, January 26, 2004 4:20 PM
Subject: Re: JSPC under Tomcat5.0.18


Can you show us your ant jspc task?

>>> 01/26/03 03:46AM >>>
Dear list members ,

Recently I've decided to redeploy some of my projects with Tomcat5.0.18.

Part of my projects are precomplied JSP files which were compiled using JSPC
that came with Tomcat4.1.29.
To my surprise those classes were not able to run properly with Tomcat5,
while deploying JSP files without precompiling worked alright.

The next step was to recompile JSP files allover using JSPC shipped with
Tomcat5 and so I did using the Latest ANT release 1.6.0.
ANT failed to complie the files with the following reason :

Buildfile: build.xml

     [jspc] Compiling 21 source
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized
option: -v9.  Use -help for help.
  [jasperc]     at org.apache.jasper.JspC.setArgs(
  [jasperc]     at org.apache.jasper.JspC.main(

Can anyone tell me what is the issue here ? Why it is not backwards
compatible ? How can I precompile the JSP files for Tomcat 5 ?

Thanks in advance.

Regards ,
Dima Gutzeit.
MailVision LTD.
R&D Team.
Phone: 972-4-8500505 ext. 14
Fax: 972 - 4 - 8508000

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

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

View raw message