trung / InMemoryJavaCompiler

Utility class to compile java source code in memory
Apache License 2.0
266 stars 81 forks source link

Compile dynamic code for java web application #10

Open viictorh opened 8 years ago

viictorh commented 8 years ago

I had a problem with compiling code when using a java web application, as this link shows.

I would like to ask you to add a method where the user can pass the classloader and options to the java compiler task, that way the user can set your classpath and libraries.

Thank you!

elfrasco commented 7 years ago

The solution referenced by @viictorh works for me like a charm.

trung commented 7 years ago

@viictorh it seems you have found the solution. Would you mind creating an PR?