Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319275 - [xtext.ecore] Provide MWE integration
Summary: [xtext.ecore] Provide MWE integration
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 10:21 EDT by Sven Efftinge CLA
Modified: 2017-09-19 16:20 EDT (History)
0 users

See Also:
sven.efftinge: helios+


Attachments
Patch adding a workflow component to set up the EcoreResourceServiceProvider stuff (4.61 KB, patch)
2010-07-09 09:55 EDT, Sven Efftinge CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2010-07-08 10:21:09 EDT
In order to have the IResourceServiceProvider registered when executing a workflow without Equinox, we should provide a workflow component, which does the registration. Something like the following should be sufficient: 

Injector ecoreInjector = Guice.createInjector(new EcoreRuntimeModule());
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("ecore", ecoreInjector.getInstance(IResourceServiceProvider.class));
Comment 1 Sven Efftinge CLA 2010-07-09 09:55:51 EDT
Created attachment 173861 [details]
Patch adding a workflow component to set up the EcoreResourceServiceProvider stuff
Comment 2 Sven Efftinge CLA 2010-07-09 09:57:16 EDT
I couldn't run the included test (for some infrastructure problems ...). Could someone please apply, run the test and commit if it is ok (resp. fix any issues)?
Comment 3 Sven Efftinge CLA 2010-08-02 08:02:49 EDT
fixed in HEAD
Comment 4 Karsten Thoms CLA 2017-09-19 16:20:05 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.