Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 25898 invoked from network); 31 Jul 2003 08:30:47 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 31 Jul 2003 08:30:47 -0000 Received: (qmail 20945 invoked by uid 97); 31 Jul 2003 08:33:35 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 20938 invoked from network); 31 Jul 2003 08:33:34 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 31 Jul 2003 08:33:34 -0000 Received: (qmail 25094 invoked by uid 500); 31 Jul 2003 08:30:33 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 25078 invoked from network); 31 Jul 2003 08:30:33 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 31 Jul 2003 08:30:33 -0000 Received: (qmail 65824 invoked from network); 31 Jul 2003 08:30:57 -0000 Received: from unknown (HELO apache.org) (127.0.0.1) by localhost with SMTP; 31 Jul 2003 08:30:57 -0000 Message-ID: <3F28D3B2.3000401@apache.org> Date: Thu, 31 Jul 2003 10:30:42 +0200 From: Remy Maucherat User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Jasper & Cocoon's Eclipse Compiler Plugin References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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