How to launch a daemon on RCP plugin load
I'm developing an RCP plugin and what to launch a java based service when it loads first time. So开发者_运维百科 please tell how should I do this. That is the java file that runs on the first launch.
Regards, Levon
First add a new startup org.eclipse.ui.startup
extension to the your RCP application then create a class that implements org.eclipse.ui.IStartup
and run a thread with using Eclipse Jobs Api.
精彩评论