Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Peter Rossbach
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-namejsp/servlet-name
   servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
   init-param
   param-namecompiler/param-name
   param-valuemodern/param-value
   /init-param
   init-param
   param-namefork/param-name
   param-valuefalse/param-value
   /init-param
   init-param
   param-namexpoweredBy/param-name
   param-valuefalse/param-value
   /init-param
   load-on-startup3/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 [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


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


Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Remy Maucherat
On Fri, 03 Dec 2004 11:23:42 +0100, Peter Rossbach [EMAIL PROTECTED] 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-namejsp/servlet-name
 servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
 init-param
 param-namecompiler/param-name
 param-valuemodern/param-value
 /init-param
 init-param
 param-namefork/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namexpoweredBy/param-name
 param-valuefalse/param-value
 /init-param
 load-on-startup3/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).

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Peter Rossbach
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 [EMAIL PROTECTED] 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-namejsp/servlet-name
   servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
   init-param
   param-namecompiler/param-name
   param-valuemodern/param-value
   /init-param
   init-param
   param-namefork/param-name
   param-valuefalse/param-value
   /init-param
   init-param
   param-namexpoweredBy/param-name
   param-valuefalse/param-value
   /init-param
   load-on-startup3/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Shapira, Yoav

Hi,
The technical points aside, we need to update the documentation section
quoted by the OP for Tomcat 5.5.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Peter Rossbach [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 6:39 AM
To: Tomcat Users List
Subject: Re: Does Tomcat 5.5 support jikes?

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 [EMAIL PROTECTED]
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-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-
class
init-param
param-namecompiler/param-name
param-valuemodern/param-value
/init-param
init-param
param-namefork/param-name
param-valuefalse/param-value
/init-param
init-param
param-namexpoweredBy/param-name
param-valuefalse/param-value
/init-param
load-on-startup3/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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



Does Tomcat 5.5 support jikes?

2004-12-02 Thread Kevin A. Burton
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Does Tomcat 5.5 support jikes?

2004-12-02 Thread Brad Neuberg
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Brad Neuberg, [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Does Tomcat 5.5 support jikes?

2004-12-02 Thread Kevin A. Burton
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Does Tomcat 5.5 support jikes?

2004-12-02 Thread Bill Barker

Kevin A. Burton [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]