[PROPOSAL] Use javac as an load-from-context-classloadr compiler (was: Classloader when Tomcat is embedded + save)

2003-09-14 Thread Anton Tagunov
Hello Matthias and All! Of course, it's good to remember that this code exists only because of the lack of a good in memory compiler. This could change. mecc Class org.eclipse.jdt.internal.compiler.Compiler in combination with mecc

Re: Classloader when Tomcat is embedded + save

2003-09-11 Thread Florent BENOIT
Remy Maucherat wrote: The implementation of the feature had little to do with the StandardServer class itself. It should really be a separate helper class (no more hacks, sorry ;-) ). Well, I can do the helper class, but I have some questions. The helper class will be for the method

Re: Classloader when Tomcat is embedded + save

2003-09-10 Thread Remy Maucherat
Florent BENOIT wrote: For the saving feature : That feature is thought out for standalone mode. It's hard to predict what are the components which should be saved, and which should not. Now if you want to refactor the save-to-xml code to a separate class (and allow configuring that class,

Classloader when Tomcat is embedded + save

2003-09-09 Thread Florent BENOIT
Hello, When we embed Tomcat in an application server, we have the following problem that we must patch. It would be good if in the Tomcat 5.x branch, this will be fixed. The problem : It's about the setClassPath() method of the class WebappLoader of the package org.apache.catalina.loader.

Re: Classloader when Tomcat is embedded + save

2003-09-09 Thread Remy Maucherat
Florent BENOIT wrote: Hello, When we embed Tomcat in an application server, we have the following problem that we must patch. It would be good if in the Tomcat 5.x branch, this will be fixed. The problem : It's about the setClassPath() method of the class WebappLoader of the package

Re: Classloader when Tomcat is embedded + save

2003-09-09 Thread matthias.ernst
Of course, it's good to remember that this code exists only because of the lack of a good in memory compiler. This could change. Class org.eclipse.jdt.internal.compiler.Compiler in combination with org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler provide a