Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322046 - Support standalone 'plugin.xml' initialization
Summary: Support standalone 'plugin.xml' initialization
Status: CLOSED DUPLICATE of bug 271253
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.6.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-07 07:30 EDT by Ed Willink CLA
Modified: 2010-08-07 12:01 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 Ed Willink CLA 2010-08-07 07:30:32 EDT
A variety of plugin extension points in EMF and related projects provide extensible configuration when Eclipse is running.

EMF and related projects endeavour to provide standalone operation as well, but this requires a Java paraphrase of plugin.xml sometimes facilitated by an initialization helper routine. Any errors in this initialization cause users considerable difficulties. For instance, getting a UML genmodel to work from a CMOF package merge within MWE is not easy. Getting OCL delegates to work standalone is also not easy.

Many EMF extension points have very similar 'put-a-class-in-a-keyed-registry' behaviour. Many others could be revised to adopt a shared registration.

With e4 revamping plugin configuration and using EMF, perhaps this could be a good time to define a factory registration API to ensure that the revamped plugin registrations are re-useable standalone.
Comment 1 Ed Merks CLA 2010-08-07 11:43:48 EDT
I'm really not sure why MWE doesn't support an OSGi mode, but that's a whole other discussion.  I'm also not keen in inventing a parallel mechanism when there is already a perfect good mechanism, i.e., we can just reuse what's already there with the contributions in https://bugs.eclipse.org/bugs/show_bug.cgi?id=271253.

*** This bug has been marked as a duplicate of bug 271253 ***
Comment 2 Ed Willink CLA 2010-08-07 12:01:09 EDT
I'm pleased that an approach for this is under active consideration.

Bug 309003 requests an OSGI mode for MWE.