Mantis - Resin
Viewing Issue Advanced Details
73 minor always 03-31-05 00:00 11-30-05 14:42
sam  
 
normal  
closed 3.0.12  
3.0.12 fixed  
none    
none 3.0.15  
0000073: direct api use of eclipse compiler
RSN-64
(rep by D Becker)

I was able to get the compiler from Eclipse to work. Just
copy the jdtcore.jar somewhere and set it up like this:

<javac compiler="java" args="-classpath \your_dir\jdtcore.jar
org.eclipse.jdt.internal.compiler.batch.Main"/>

Is there a way to configure it to be invoked as a class, instead of shelling
out just to invoke java again?

Notes
(0000074)
sam   
03-31-05 00:00   
Another possibility is to include the eclipse compiler with Resin, which is what Tomcat does, which would mean that tools.jar is not required.
(0000075)
ferg   
03-31-05 00:00   
Added support for eclipse compiler.