weird...

download the tomcat sources and check out the class
org.apache.jasper.compiler.JikesJavaCompiler

See the method "compile()"

and note the comment on line 193, and 203 --
//XXX - add encoding once Jikes supports it

odd -- i would advise you check out the sources in this package
org.apache.jasper.compiler

and your questions will be answered.

fillup



On 5/22/02 12:11 PM, "Rossen Raykov" <[EMAIL PROTECTED]> wrote:

> I'm trying to use jikes as a JPS compiler in Tomcat 4.0.3 but it is
> receiving extra parameter "-encoding UTF8" which is braking the compilation
> process.
> I'm using JDK 1.3.1_01 on Solaris 8 but the same result I had also with JDK
> 1.4.0.
> 
> In my per server web.xml I have:
> ------ CUT -------
> <servlet>
>   <servlet-name>jsp</servlet-name>
>   <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>   <init-param>
>       <param-name>classdebuginfo</param-name>
>       <param-value>true</param-value>
>   </init-param>
>   <init-param>
>       <param-name>jspCompilerPlugin</param-name>
> 
> <param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
>   </init-param>
>   <init-param>
>       <param-name>logVerbosityLevel</param-name>
>       <param-value>DEBUG</param-value>
>   </init-param>
>   <load-on-startup>1</load-on-startup>
> </servlet>
> ------ CUT -------
> And in the log I have:
> 2002-05-22 09:45:21 Compiling with: -encoding UTF8 -classpath /...
> 
> Jikes does not support -encoding parameter.
> 
> Does anyone know how to solve this issue?
> Is there someone that is using Tomcat 4.0.3 with jikes?
> 
> Regards,
> Rossen
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to