java - Where I can find the system out prints in RCP Product? -
i have rcp
application, inside have added system.out.println()
statements. now, have exported project product, can please tell me these system.out.println()
output?
since not using logger framework, output not printed default workspace/.metadata/.log
file.
you can start product console though, adding following parameters productname.ini
(e.g. eclipse.ini) file in installation directory:
-console
-consolelog
the ini file should this:
-startup plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417 -console -consolelog
the output printed in console window.
edit
if error message after starting application: could not find bundle: org.eclipse.equinox.console
you need add following bundles productname.product
file ('contents' tab) , export new product: org.eclipse.equinox.console
org.apache.felix.gogo.runtime
org.apache.felix.gogo.command
org.apache.felix.gogo.shell
Comments
Post a Comment