0

I am currently using Eclipse 3.5.2.

I have an Eclipse RCP application that I am developing and I launch it from the Eclipse IDE.

I am writing some code that uses a 3rd party library that I included as a separate Eclipse Plugin. When I ran my Eclipse RCP app, I don't see the typical output from the 3rd party library on the console tab in the Eclipse IDE.

Is that as expected? If so is there a way that I can enable that?

Thanks,

beyonddc
  • 1,246
  • 3
  • 13
  • 26
  • I think, 3rd party lib which you have included as plugin, it will not be activated at the launch of application. A plug in is activated once it has been referenced. You can try to initialize in class of 3rd party lib in Activator.java of your main plug-in. Another check, go to run configuration and see if plug-in you have added is checked or not under required plug-ins. – Priyank Thakkar Sep 19 '12 at 16:17

1 Answers1

0

I don't think the console automatically picks up stdout.

You could, however, redirect stdout to the console's output stream.

See Redirect stdout to a string in Java for a good example of how to redirect stdout and How do I write to the console from a plug-in for information on how to get a stream output for the console.

Community
  • 1
  • 1
David G
  • 3,940
  • 1
  • 22
  • 30