tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dima Gutzeit" <d...@mailvision.net>
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="."
         destdir="${build.home}/src/jsp"
         package="org.apache.jsp"
      webinc="jsp.xml">
  <classpath>
                 <fileset dir="${lib}">
                         <include name="*.jar"/>
                 </fileset>
                 <fileset dir="${tomcat.common}">
                         <include name="*.jar"/>
                 </fileset>
                    <fileset dir="${tomcat.bin}">
                         <include name="*.jar"/>
                 </fileset>
                </classpath>
  </jspc>
     </target>


----- Original Message ----- 
From: "Ian Joyce" <Ijoyce@aafp.org>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, January 26, 2004 4:20 PM
Subject: Re: JSPC under Tomcat5.0.18


Hi.

Can you show us your ant jspc task?

>>> dima@mailvision.net 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:
     [jspc] Compiling 21 source
files/var/tomcat5/webapps/System/src/jsp/org/apache/jsp
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized
option: -v9.  Use -help for help.
  [jasperc]     at org.apache.jasper.JspC.setArgs(JspC.java:307)
  [jasperc]     at org.apache.jasper.JspC.main(JspC.java:231)


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
http://www.mailvision.com




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



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


Mime
View raw message