[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Starting equinox framework in program
- From: "林恺" <bmlinkai@xxxxxxxxx>
- Date: Thu, 4 Sep 2008 11:40:51 +0800
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=wL/p+wwQML9Eo0zqfZ3TobBOnzWianKVoNCFygylCe3Tul2JjoWT0njd9+xUeKi63a rteBNXikqfI+VnPPSxx4c4hLsZ18Btq5dY6wFSu70HJcGW6YOfRI6R7r+DlFCINXj4aW mBzlSqOwLLQMPb1ou//Glhe/LqjwBZBJQQ2Qs=
Thanks for your reply.
Yes, my plug-in is an UI Eclipse plugin. And it's true that Equinox framework will be start firstly when Eclipse launched. But the problem is the Equinox framework I want to start is not the framework of Eclipse platform where my plug-in is install in. The Equinox framework I want to start is another framework (application), and all the bundle is in a folder.
I want to start another Equinox framework through my plug-in, and install all the bundles of the application through my plug-in, then I can control and monitor the bundles on the Equinox framework. For that my plug-in is a Bundle Monitor tool to control another Equinox-based application.
2008/9/4 Meng Xin Zhu <zhumx@xxxxxxxxxx>
As you said your application is an Eclipse plug-in, I assume it's RCP application whether it has UI or not. Equiiox(OSGi) framework would be started firstly when your application launch, then your plug-in can obtain BundleContext in its bundle activator. Don't need explicitly call EclipseStarter.startup to launch OSGi framework.