Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 33179 invoked from network); 13 Feb 2004 11:05:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Feb 2004 11:05:36 -0000 Received: (qmail 69375 invoked by uid 500); 13 Feb 2004 11:05:05 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 69312 invoked by uid 500); 13 Feb 2004 11:05:04 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 69295 invoked from network); 13 Feb 2004 11:05:04 -0000 Received: from unknown (HELO out1.smtp.messagingengine.com) (66.111.4.25) by daedalus.apache.org with SMTP; 13 Feb 2004 11:05:04 -0000 X-Sasl-enc: K+6uqf/81uOGBOAiJZ4Wbw 1076670317 Received: from upaya.co.uk (unknown [213.48.13.34]) by www.fastmail.fm (Postfix) with ESMTP id 51D874FC5ED for ; Fri, 13 Feb 2004 06:05:16 -0500 (EST) Message-ID: <402CAF67.4010409@upaya.co.uk> Date: Fri, 13 Feb 2004 11:05:11 +0000 From: Upayavira User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Introducing IOC for Java classes created in flowscript References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Leszek Gawron wrote: >>You no longer need it, as it is in CVS already - and therefore in 2.1.4 >>release. To use the compiling classloader, edit the cocoon.xconf, find >>//flow-interpreters/component-instance[@name='javascript']. Add in a >>node xxxx that specifies the path to your java >>source code. Restart your servlet container once, and from then on, you >>will not need to restart your container, classes will be recompiled on >>demand. Well cool! >> >>I take it that is what you are after. >> >> >Not really ... I wanted to look at the code to see how this magic is being >achieved :). I assume the source is not in the CVS. > > http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom/CompilingClassLoader.java Upayavira