Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 44958 invoked from network); 21 Nov 2003 18:21:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Nov 2003 18:21:01 -0000 Received: (qmail 11787 invoked by uid 500); 21 Nov 2003 18:20:44 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 11722 invoked by uid 500); 21 Nov 2003 18:20:43 -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 11649 invoked from network); 21 Nov 2003 18:20:43 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 21 Nov 2003 18:20:43 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ANFte-0000sw-00 for ; Fri, 21 Nov 2003 19:20:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ANFsD-0000s6-00 for ; Fri, 21 Nov 2003 19:19:17 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ANFsC-0002fR-00 for ; Fri, 21 Nov 2003 19:19:16 +0100 From: Sylvain Wallez Subject: Re: Introducing IOC for Java classes created in flowscript Date: Fri, 21 Nov 2003 19:19:16 +0100 Lines: 26 Message-ID: References: <3FBD6F3E.8060104@hartle-klug.com> <3FBDE4C9.6050504@hartle-klug.com> <3FBDF58D.8050007@vafer.org> <3FBE4176.10804@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fr, en, en-us In-Reply-To: <3FBE4176.10804@verizon.net> Sender: news 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 Christopher Oliver wrote: > See Interpreter.java in the example package of > ftp://ftp.primaryinterface.com/pub/javacAPI/javacAPI.zip. It provides > a CompilingClassLoader that implements findClass() by using the > Eclipse java compiler to compile source files. By combining this with > Rhino's ability to dynamically use custom classloaders (see > http://www.mozilla.org/rhino/rhino15R4.html "Scripting classes from > any class loader") you should be able to create a Flowscript > development environment that doesn't require the explicit use of javac. That's super-cool, and opens a lot of interesing perspectives! How can we use this code? The license looks ASF-like, but it would be interesting if it could be hosted here, so that we can extend it and build on it. I'm mainly thinking of adding automatic reload. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com