|How to locate the default application [message #919969]
||Sat, 22 September 2012 15:14
| Karl Weber
Registered: September 2010
I hope this is the right forum to ask.|
According to the documentation, Eclipse has a default application that can be specified through the eclipse.product or the eclipse.application runtime option.
For whatever reason I launch my E4 RCP application with the runtime option eclipse.application.launchDefault=false. At some later time I want to locate the OSGi ApplicationDescriptor for the default application and launch it using the OSGi application admin.
The question is, how do I find the default application?
I noticed, that the OSGi Service registered for the default application's ApplicationDescriptor has the property eclipse.application.default=true.
This is quite nice, but I do not know whether I can rely on it, since I didn't find anything about it in the documentation. It would be great, if this feature would be "API", so that one can rely on it.
Or is there a better (right) way to find the default application?
Powered by FUDForum
. Page generated in 0.06044 seconds