You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kevin A. Burton" <bu...@newsmonster.org> on 2004/12/02 22:58:46 UTC
Does Tomcat 5.5 support jikes?
This isn't fun:
>
> <!--
> -->
> <!-- If you wish to use Jikes to compile JSP
> pages: -->
> <!-- Set the init parameter "compiler" to "jikes".
> Define -->
> <!-- the property "-Dbuild.compiler.emacs=true" when starting
> Tomcat -->
> <!-- by adding the above to your CATALINA_OPTS environment
> variable. -->
> <!-- If you get an error reporting that jikes can't use UTF8
> encoding, -->
> <!-- try setting the init parameter "javaEncoding" to
> "ISO-8859-1". -->
But I follow these instructions (as I did with Tomcat 5.0) and Tomcat
5.5 STILL uses jdtool!
Any thoughts?
--
Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
invite! Also see irc.freenode.net #rojo if you want to chat.
Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you
should work for Rojo! If you recommend someone and we hire them you'll
get a free iPod!
Kevin A. Burton, Location - San Francisco, CA
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Does Tomcat 5.5 support jikes?
Posted by Peter Rossbach <pr...@objektpark.de>.
Hello Remy,
your right, the new JDT is the best option. What I say Ant/
tools.jar/jikes works also,
but the future is the JDT support.
Peter
Remy Maucherat schrieb:
>On Fri, 03 Dec 2004 11:23:42 +0100, Peter Rossbach <pr...@objektpark.de> wrote:
>
>
>>Hey,
>>
>>you can configure the Ant Compiler with following steps:
>>
>>Copy ant.jar and ant-launcher.jar at common/lib
>>
>>Edit conf/web.xml or your own app web.xml ( Change servlet-name at
>>definition and mappings!)
>> <servlet>
>> <servlet-name>jsp</servlet-name>
>> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>> <init-param>
>> <param-name>compiler</param-name>
>> <param-value>modern</param-value>
>> </init-param>
>> <init-param>
>> <param-name>fork</param-name>
>> <param-value>false</param-value>
>> </init-param>
>> <init-param>
>> <param-name>xpoweredBy</param-name>
>> <param-value>false</param-value>
>> </init-param>
>> <load-on-startup>3</load-on-startup>
>> </servlet>
>>
>>I also thing that ant jikes mode work with Tomcat 5.5.x and mixed
>>operating with Ant and JDT is
>>possible.
>>
>>
>
>I confirm what Peter said :)
>
>I don't see any good reason for using Jikes, though. JDT is likely
>faster in many cases (it uses the classloader to load dependencies, so
>if you have a large amount of JARs, Jikes will be in trouble).
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Does Tomcat 5.5 support jikes?
Posted by Remy Maucherat <re...@gmail.com>.
On Fri, 03 Dec 2004 11:23:42 +0100, Peter Rossbach <pr...@objektpark.de> wrote:
> Hey,
>
> you can configure the Ant Compiler with following steps:
>
> Copy ant.jar and ant-launcher.jar at common/lib
>
> Edit conf/web.xml or your own app web.xml ( Change servlet-name at
> definition and mappings!)
> <servlet>
> <servlet-name>jsp</servlet-name>
> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
> <init-param>
> <param-name>compiler</param-name>
> <param-value>modern</param-value>
> </init-param>
> <init-param>
> <param-name>fork</param-name>
> <param-value>false</param-value>
> </init-param>
> <init-param>
> <param-name>xpoweredBy</param-name>
> <param-value>false</param-value>
> </init-param>
> <load-on-startup>3</load-on-startup>
> </servlet>
>
> I also thing that ant jikes mode work with Tomcat 5.5.x and mixed
> operating with Ant and JDT is
> possible.
I confirm what Peter said :)
I don't see any good reason for using Jikes, though. JDT is likely
faster in many cases (it uses the classloader to load dependencies, so
if you have a large amount of JARs, Jikes will be in trouble).
--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Does Tomcat 5.5 support jikes?
Posted by Peter Rossbach <pr...@objektpark.de>.
Hey,
you can configure the Ant Compiler with following steps:
Copy ant.jar and ant-launcher.jar at common/lib
Edit conf/web.xml or your own app web.xml ( Change servlet-name at
definition and mappings!)
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>compiler</param-name>
<param-value>modern</param-value>
</init-param>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
I also thing that ant jikes mode work with Tomcat 5.5.x and mixed
operating with Ant and JDT is
possible.
regards
Peter
Bill Barker schrieb:
>"Kevin A. Burton" <bu...@newsmonster.org> wrote in message
>news:41AFB035.4070107@newsmonster.org...
>
>
>>Kevin A. Burton wrote:
>>
>>
>>
>>>This isn't fun:
>>>
>>>
>>>
>>>> -->
>>>> <!-- If you wish to use Jikes to compile JSP
>>>> -->
>>>> <!-- Set the init parameter "compiler" to "jikes".
>>>> -->
>>>> <!-- the property "-Dbuild.compiler.emacs=true" when starting
>>>>cat -->
>>>> <!-- by adding the above to your CATALINA_OPTS environment
>>>>iable. -->
>>>> <!-- If you get an error reporting that jikes can't use UTF8
>>>>encoding, -->
>>>> <!-- try setting the init parameter "javaEncoding" to
>>>>-8859-1". -->
>>>>
>>>>
>>>
>>>But I follow these instructions (as I did with Tomcat 5.0) and Tomcat 5.5
>>>STILL uses jdtool!
>>>
>>>Any thoughts?
>>>
>>>
>>>
>>It looks like the web.xml configuration is lying about a number of things.
>>Tomcat 5.5 ONLY used the JDTCompiler and will never use the AntCompiler.
>>Theres not even a way to tell it to use one or the other.
>>
>>
>>
>
>The only way (currently) to use the AntCompiler is to remove the
>jasper-compiler-jdt.jar and install ant.jar and ant-launcher.jar instead.
>
>
>
>>Thus fork, jikes, etc don't matter anymore.
>>
>>Kevin
>>
>>--
>>
>>Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
>>invite! Also see irc.freenode.net #rojo if you want to chat.
>>
>>Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
>>
>>If you're interested in RSS, Weblogs, Social Networking, etc... then you
>>should work for Rojo! If you recommend someone and we hire them you'll
>>get a free iPod!
>> Kevin A. Burton, Location - San Francisco, CA
>> AIM/YIM - sfburtonator, Web - http://peerfear.org/
>>GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
>>
>>
>
>
>
>
>---------------------------------------------------------------------
>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
Re: Does Tomcat 5.5 support jikes?
Posted by Bill Barker <wb...@wilshire.com>.
"Kevin A. Burton" <bu...@newsmonster.org> wrote in message
news:41AFB035.4070107@newsmonster.org...
> Kevin A. Burton wrote:
>
>> This isn't fun:
>>
>>>
>>> -->
>>> <!-- If you wish to use Jikes to compile JSP
>>> -->
>>> <!-- Set the init parameter "compiler" to "jikes".
>>> -->
>>> <!-- the property "-Dbuild.compiler.emacs=true" when starting
>>> cat -->
>>> <!-- by adding the above to your CATALINA_OPTS environment
>>> iable. -->
>>> <!-- If you get an error reporting that jikes can't use UTF8
>>> encoding, -->
>>> <!-- try setting the init parameter "javaEncoding" to
>>> -8859-1". -->
>>
>>
>>
>> But I follow these instructions (as I did with Tomcat 5.0) and Tomcat 5.5
>> STILL uses jdtool!
>>
>> Any thoughts?
>>
> It looks like the web.xml configuration is lying about a number of things.
> Tomcat 5.5 ONLY used the JDTCompiler and will never use the AntCompiler.
> Theres not even a way to tell it to use one or the other.
>
The only way (currently) to use the AntCompiler is to remove the
jasper-compiler-jdt.jar and install ant.jar and ant-launcher.jar instead.
> Thus fork, jikes, etc don't matter anymore.
>
> Kevin
>
> --
>
> Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
> invite! Also see irc.freenode.net #rojo if you want to chat.
>
> Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
>
> If you're interested in RSS, Weblogs, Social Networking, etc... then you
> should work for Rojo! If you recommend someone and we hire them you'll
> get a free iPod!
> Kevin A. Burton, Location - San Francisco, CA
> AIM/YIM - sfburtonator, Web - http://peerfear.org/
> GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Does Tomcat 5.5 support jikes?
Posted by "Kevin A. Burton" <bu...@newsmonster.org>.
Kevin A. Burton wrote:
> This isn't fun:
>
>>
>> <!--
>> -->
>> <!-- If you wish to use Jikes to compile JSP
>> pages: -->
>> <!-- Set the init parameter "compiler" to "jikes".
>> Define -->
>> <!-- the property "-Dbuild.compiler.emacs=true" when starting
>> Tomcat -->
>> <!-- by adding the above to your CATALINA_OPTS environment
>> variable. -->
>> <!-- If you get an error reporting that jikes can't use UTF8
>> encoding, -->
>> <!-- try setting the init parameter "javaEncoding" to
>> "ISO-8859-1". -->
>
>
>
> But I follow these instructions (as I did with Tomcat 5.0) and Tomcat
> 5.5 STILL uses jdtool!
>
> Any thoughts?
>
It looks like the web.xml configuration is lying about a number of
things. Tomcat 5.5 ONLY used the JDTCompiler and will never use the
AntCompiler. Theres not even a way to tell it to use one or the other.
Thus fork, jikes, etc don't matter anymore.
Kevin
--
Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
invite! Also see irc.freenode.net #rojo if you want to chat.
Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you
should work for Rojo! If you recommend someone and we hire them you'll
get a free iPod!
Kevin A. Burton, Location - San Francisco, CA
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Does Tomcat 5.5 support jikes?
Posted by Brad Neuberg <bk...@columbia.edu>.
I remember I tried to get Tomcat to use Jikes and I followed the
instructions (i.e. setting the correct parameters in conf/web.xml, there is
a jikes parameter), but I had the sneaking suspicion it was ignored. :(
At 01:58 PM 12/2/2004, you wrote:
>This isn't fun:
>
>>
>><!--
>>-->
>> <!-- If you wish to use Jikes to compile JSP
>> pages: -->
>> <!-- Set the init parameter "compiler" to "jikes".
>>Define -->
>> <!-- the property "-Dbuild.compiler.emacs=true" when starting
>> Tomcat -->
>> <!-- by adding the above to your CATALINA_OPTS environment
>> variable. -->
>> <!-- If you get an error reporting that jikes can't use UTF8
>> encoding, -->
>> <!-- try setting the init parameter "javaEncoding" to
>> "ISO-8859-1". -->
>
>
>But I follow these instructions (as I did with Tomcat 5.0) and Tomcat 5.5
>STILL uses jdtool!
>
>Any thoughts?
>
>--
>
>Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an
>invite! Also see irc.freenode.net #rojo if you want to chat.
>
>Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
>
>If you're interested in RSS, Weblogs, Social Networking, etc... then you
>should work for Rojo! If you recommend someone and we hire them you'll
>get a free iPod!
>
>Kevin A. Burton, Location - San Francisco, CA
> AIM/YIM - sfburtonator, Web - http://peerfear.org/
>GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
Brad Neuberg, bkn3@columbia.edu
Senior Software Engineer, Rojo Networks
Weblog: http://www.codinginparadise.org
=====================================================================
Check out Rojo, an RSS and Atom news aggregator that I work on. Visit
http://rojo.com for more info. Feel free to ask me for an invite!
Rojo is Hiring! If you're interested in RSS, Weblogs, Social Networking,
Java, Open Source, etc... then come work with us at Rojo. If you recommend
someone and we hire them you'll get a free iPod! See
http://www.rojonetworks.com/JobsAtRojo.html.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org