trung / InMemoryJavaCompiler

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

Intercepting the error stream #9

Closed ArsenArsen closed 7 years ago

ArsenArsen commented 8 years ago

Hello! This is more a question, but is it possible to intercept the compile errors and get them in a stream or string? I am making myself an app that uses this compiler and I want it to be able to show compile errors. Thanks in advance.

trung commented 7 years ago

There's a pull request for this: https://github.com/trung/InMemoryJavaCompiler/pull/5 I'll work out with the contributor and make it available

trung commented 7 years ago

It's now available in master