tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: Jasper & Cocoon's Eclipse Compiler Plugin
Date Thu, 31 Jul 2003 08:30:42 GMT
matthias.ernst@coremedia.com wrote:
> Hi,
> 
> I'm experimenting with embedding Jasper/JSP 2.0 into production servlet
> 2.3 containers / JSP 1.2. That works surprisingly well, using an
> alternative lib directory and an additional classloader. (I want to run
> tagfiles in Websphere,Dynamo,... before 2005.)
> 
> Anwyay, one of the obstacles is Jasper's requirement for the container's
> URLClassLoader for assembling a classpath for the compiler. The cocoon
> project has solved this by using an Eclipse Java compiler plugin that
> reads classes on demand from the thread context classloader. I.e. no jar
> location is needed.
> 
> I've patched Jasper to use that compiler plugin instead of ant and it
> works very well so far. It's even much faster than javac.
> 
> Is there interest to incorporate that compiler and remove the
> URLClassLoader requirement ?

Jasper uses Ant and that was a rather painful switch which needed lots 
of testing to start working fine. You should be able to use EDT through Ant.
I'm against what you propose (lots of pain, no gain).

Remy


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


Mime
View raw message