Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 195982 - Only applications from first bundle shown?
Summary: Only applications from first bundle shown?
Status: CLOSED INVALID
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 08:49 EDT by Alex Blewitt CLA
Modified: 2007-07-10 16:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2007-07-10 08:49:51 EDT
If I define two IApplications in two separate bundles, then start one of them with eclipse -console -application, I cannot see the other (with apps/startApp/activeApps). If I start up eclipse -console, I can see neither of them. 

It seems that what's happening is that the only IApplicationHandles that are being registered are those contributed by extension points in the bundle that contains the application listed in -application. Clearly, Eclipse knows where they are (because I can run -application on either) but the Equinox console seems to be blinkered depending on which one you started.

Other apps in the same bundle are visible with activeApps.

I'd have expected to see a full list of IApplications in the Equinox console, as long as those bundles are installed (or started). That doesn't seem to be the case.
Comment 1 Thomas Watson CLA 2007-07-10 09:04:58 EDT
See the runtime option "eclipse.application.registerDescriptors" in the help.  Setting "eclipse.application.registerDescriptors=true" in the config.ini will show all applications, not just the default one specified in -application.
Comment 2 Alex Blewitt CLA 2007-07-10 09:19:30 EDT
Fair enough.
Comment 3 Alex Blewitt CLA 2007-07-10 16:27:14 EDT
NB the default application args set by PDE supplies -Declipse.ignoreApp=true. With that, no apps get started either.

(Just in case anyone else finds this bug)