When I have references between xmi source that are in two different projects in my workspace I can't get my xpand template to work. It works fine when both sources are in the same project.
There is no error thrown, it just returns nothing.
«DEFINE PortRoot FOR uml::Port-»
«this.getRequireds()» // should return Required Interfaces
I tried to reference a model inside another project, and it worked.
My steps (maybe some are not necessary):
-Adding a project reference from generator project to the project containing the model to refer.
-Adding this project also to the buildpath of the generator project
-Inside the model.xmi: Load resource by 'Browse Wokspace'