Duplicate :
|
Name: dbT83986 Date: 03/23/99 How about a standard API to the JAVAC compiler? I have been looking at the BEANBOX demo with a view to potentially developing something along similar lines, and have noted that the method used to invoke the compiler to generate the adapter classes is to execute JAVAC through the operating system shell. A really nice addition to the JDK would be an API to wrap up the compiler, enabling it to be invoked directly with method calls passing parameters as appropriate. Status information could be returned to the caller wrapped up in a class containing success indication, array of compilation errors (with source locations) etc. (Review ID: 55433) ======================================================================