Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to locate the default application
How to locate the default application [message #919969] Sat, 22 September 2012 15:14
Karl Weber is currently offline Karl WeberFriend
Messages: 63
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?

Previous Topic:Substitute for action sets
Next Topic:Worker thread priorities
Goto Forum:

Current Time: Sun May 27 13:25:18 GMT 2018

Powered by FUDForum. Page generated in 0.01267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top