in my DSL I have import statement and when doGenerate was called I want to generate code also for imported file. I need to use xtextResourceSet from my xtend file, but
there are any resources available from XtextResourceSet.
My xtend code is:
var Injector injector = new xacmlStandaloneSetup().createInjectorAndDoEMFRegistration();
var XtextResourceSet set = injector.getInstance(XtextResourceSet.class);
var URI uri = URI::createPlatformResourceURI(i.importURI,true);
var Resource res = set.getResource(uri,false)
Why other xtext resources aren't visible? Even if global scoping run correctly.
Otherwise if you know other way to compile imported file thanks in advance.