Showing console output of a third party JNI library in an eclipse plugin

501 Views Asked by At

I am using JPL, a JNI library for interacting with Prolog from Java. In my application it is important to see the output that the Prolog engine generates (for example: when loading Prolog files, executing unit tests, etc). This is happening when I use the library in a standalone Java application.

However, when I pack my application as an Eclipse plug-in, I cannot see the JPL generated output anymore (such output is coming from the Prolog engine).

Does someone know if there is a way to see this output in the Eclipse console?

Thanks in advance.

1

There are 1 best solutions below

4
On

May be you could try to make a plugin out of your library (hwoto) and then hook a LogListener for this plugin (like that)?