You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Aaron Mulder <am...@alumni.princeton.edu> on 2005/08/02 01:38:43 UTC

JSP Compiler / tools.jar for M4

	Do I understand correctly that you need to run Geronimo under a 
JDK in M4 because of the tools.jar hack, but under HEAD that's been 
removed and it will run find under a JRE because is uses a 3rd-party 
compiler?

Thanks,
	Aaron

Re: JSP Compiler / tools.jar for M4

Posted by Kresten Krab Thorup <kr...@trifork.com>.
On Aug 2, 2005, at 2:16 AM, David Jencks wrote:

> Is janino better for compiling jsps than the eclipse compiler?   
> I've heard of it in drools but don't know anything about it.

Janino does not cover the complete Java language [see here for a list  
of missing features: http://www.janino.net/javadoc/org/codehaus/ 
janino/Parser.html], and so I would recommend just sticking to the  
Eclipse compiler for everything.

Internally we have converted even the ant build process for our app  
server to always use the Eclipse compiler, simply to get a consistent  
build across all the developer's various machines.  In such a large  
project we have sometimes seen odd bugs in various versions of javac,  
and so it is nice to know that all developers are using the exact  
same compiler.

Kresten

Re: JSP Compiler / tools.jar for M4

Posted by David Jencks <dj...@gluecode.com>.
It's too late to change M4 -- it doesn't actually use the tools.jar but 
it's apparently still needed because some obsolete code didn't get 
removed in time.  In M5/Head  the obsolete code is gone and we are 
using the eclipse compiler for jsps and cglib to generate proxies for 
everything else including corba.

Is janino better for compiling jsps than the eclipse compiler?  I've 
heard of it in drools but don't know anything about it.

thanks
david jencks

On Aug 1, 2005, at 5:00 PM, Lyndon Samson wrote:

> janino http://www.janino.net/ might be a reasonable substitute for 
> tools.jar
>


Re: JSP Compiler / tools.jar for M4

Posted by Lyndon Samson <ly...@gmail.com>.
janino http://www.janino.net/ might be a reasonable substitute for tools.jar

Re: JSP Compiler / tools.jar for M4

Posted by David Jencks <da...@yahoo.com>.
I'd try it, but I think that is correct.  Tools.jar is certainly not 
needed for head

david jencks
On Aug 1, 2005, at 4:38 PM, Aaron Mulder wrote:

> 	Do I understand correctly that you need to run Geronimo under a
> JDK in M4 because of the tools.jar hack, but under HEAD that's been
> removed and it will run find under a JRE because is uses a 3rd-party
> compiler?
>
> Thanks,
> 	Aaron
>


Re: JSP Compiler / tools.jar for M4

Posted by Jeremy Boynes <jb...@apache.org>.
Calvin Austin wrote:
> btw Technically there is such a thing as a Sun JRE +javac/tools.jar that 
> isn't a JDK. It was done to enable JSP development
> 
> http://java.sun.com/j2se/1.3/docchanges.html
> 

IIRC this was done to allow people to redistribute a JRE+tools.jar in 
conjunction with an application under terms similar to Sun's binary code 
license. This won't work for us because those terms are more restrictive 
than the Apache License. Same reason why we couldn't redistribute 
JavaMail under the BCL.

--
Jeremy

Re: JSP Compiler / tools.jar for M4

Posted by Calvin Austin <ca...@spikesource.com>.
btw Technically there is such a thing as a Sun JRE +javac/tools.jar that 
isn't a JDK. It was done to enable JSP development

http://java.sun.com/j2se/1.3/docchanges.html

regards
calvin

sissonj@insession.com wrote:

>
> AFAIK, the JDK is required in M4 according to a previous email from 
> Dain where he said it was needed by the OpenORB stub/
> tie compiler.  AFAIK, in M4, JSP compilation will use the eclipse 
> compiler.
>
> The toolsjarhack and the OpenORB code have been removed from HEAD, so 
> only a JRE will be required for M5.
>
> John
>
> This e-mail message and any attachments may contain confidential, 
> proprietary or non-public information.  This information is intended 
> solely for the designated recipient(s).  If an addressing or 
> transmission error has misdirected this e-mail, please notify the 
> sender immediately and destroy this e-mail.  Any review, 
> dissemination, use or reliance upon this information by unintended 
> recipients is prohibited.  Any opinions expressed in this e-mail are 
> those of the author personally.
>
> Aaron Mulder <am...@alumni.princeton.edu> wrote on 02/08/2005 
> 09:38:43 AM:
>
> >    Do I understand correctly that you need to run Geronimo under a
> > JDK in M4 because of the tools.jar hack, but under HEAD that's been
> > removed and it will run find under a JRE because is uses a 3rd-party
> > compiler?
> >
> > Thanks,
> >    Aaron



Re: JSP Compiler / tools.jar for M4

Posted by si...@insession.com.
AFAIK, the JDK is required in M4 according to a previous email from Dain 
where he said it was needed by the OpenORB stub/ 
tie compiler.  AFAIK, in M4, JSP compilation will use the eclipse 
compiler.

The toolsjarhack and the OpenORB code have been removed from HEAD, so only 
a JRE will be required for M5.

John

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.

Aaron Mulder <am...@alumni.princeton.edu> wrote on 02/08/2005 09:38:43 
AM:

>    Do I understand correctly that you need to run Geronimo under a 
> JDK in M4 because of the tools.jar hack, but under HEAD that's been 
> removed and it will run find under a JRE because is uses a 3rd-party 
> compiler?
> 
> Thanks,
>    Aaron