| Summary: | [xtext.ecore] Provide MWE integration | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Sven Efftinge <sven.efftinge> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | Flags: | sven.efftinge:
helios+
|
||||
| Version: | 1.0.0 | ||||||
| Target Milestone: | SR1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 173861 [details]
Patch adding a workflow component to set up the EcoreResourceServiceProvider stuff
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)? fixed in HEAD Closing bug which were set to RESOLVED before Eclipse Neon.0. |
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));