Xtext: Create an EMF Resource on the fly -
Xtext: Create an EMF Resource on the fly - for reasons, need create non-persistent emf resource within scoping. hold of resourceset language uses. need not in ui project main project. i tried in scopeprovider class with @inject resourceset @inject provider<resourceset> @inject iresourcefactory however, none of these ever injected (stay null) although in defaultruntimemodule, there indeed bindings @ to the lowest degree resourceset , iresourcefactory. utilize xtext 2.5.1. i take other ways create emf resource on fly regards, clericc you can try @inject provider<xtextresourceset> resourcesetprovider; also don't forget execute <yourlanguage>standalonesetup.dosetup() in non-ui app initialize emf registries , create classes injected properly. xtext emf