> We really need the ability to compile Java on the server side of > AvalonDB ....
I do not know if this could help but... Pnuts is a Java-like scripting language that compiles into memory without using a Java compiler: http://javacenter.sun.co.jp/pnuts/ It is pure Java and my performance tests hint that it really has to be compiled as they announce - it is so damn fast!!! http://javacenter.sun.co.jp/pnuts/doc/pnuts_engine.html It integrates VERY well with Java. It is Open Source, Sun License: http://javacenter.sun.co.jp/pnuts/LICENSE.txt You can distribute it: Sun grants Licensee a non-exclusive, royalty-free right to download, install, compile, use, copy and distribute this Software, modify or otherwise create derivative works from the Software (each, a "Modification") and distribute any Modification to its customers with a license agreement containing these terms. I see no problems in the license but I am far from being an expert. Read it if you are interested. It is not so big. Have fun, Paulo Gaspar > -----Original Message----- > From: Paul Hammant [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 08, 2002 10:28 AM > To: Avalon Developers List > Subject: Re: [Fwd: Re: > org.apache.cocoon.components.language.programming.java package] > > > Peter, > > >>I don't know if it is replaced by another class/entry point, I just know > >>that when I use JDK 1.4 I get a deprecation warnings when compiling the > >>classes. > >> > >>Invoking compilers dynamically has always been a bit of a hack, because > >> > >>there is no direct interface to the compiler class--you have to > go through > >>the command line. Any time you rely on com.sun.* you run the risk of > >>seeing the classes change due to restructuring. There is no contract > >>beyond what they expose to you (i.e. the command line). > >> > >>Also, the Jikes compiler works quite well.... > >> > > > >Another idea maybe refactoring the ant stuff re compiling. > > > Is this an option dude? Could the Ant javac invoker be used as it (i.e. > instantiating org.apache.tools.ant.taskdefs.Javac and execute()ing it in > situ) ? Could it be that your forthcoming myrmidon is worth waiting for? > > We really need the ability to compile Java on the server side of > AvalonDB .... > > Regards, > > - Paul H -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>