tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Using JDK compiler with Tomcat (was: Re: svn commit: r999941)
Date Wed, 22 Sep 2010 14:11:40 GMT
> --- tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml (original)
> +++ tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml Wed Sep 22 13:43:53 2010
> @@ -192,7 +192,7 @@ tens of JARs. On fast servers, this will
>  for even large JSP  pages.</p>
>
>  <p>Apache Ant, which was used in previous Tomcat releases, can be used instead
> -of the new compiler by simply removing the <code>lib/jasper-jdt.jar</code>
file,
> +of the new compiler by simply removing the <code>lib/ecj-*.jar</code> file,
>  and placing the <code>ant.jar</code> file from the latest Ant distribution
in
>  the <code>lib</code> folder.  If you do this, you also need to use the
"javac"
>  argument to catalina.sh.</p>
>

Rereading the above doc fragment,

>  If you do this, you also need to use the "javac"
>  argument to catalina.sh.</p>

I do not see any support for "javac" argument in the current
*.sh/*.bat files of 6.0.x and 5.5.x.

It looks that that phrase can be removed.

Am I missing anything else?

Reading "Using Jikes" part there,
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Using_Jikes
maybe it means, that one has to edit conf/web.xml and set the
"compiler" parameter of JspServlet to the value of "javac"?

Best regards,
Konstantin Kolinko

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


Mime
View raw message