I'm just getting started with xtext 2.9.2 on IntelliJ IDEA 2016.3. I try to follow the simple 15 Minutes Tutorial. The first iteration was fine, but the imports do not work.
I have created 2 repos on github:
- the project which defines the DSL
- and the project that uses the generated editor
- when I define everything in a singleFile it is okay
- but when I split the model into 3 files (same like in the example), then the imports are not recognized: my DSL editor reports an error
- e.g. commons.dmodel will complain:
couldn't resolve reference to type String
- The String data-type is defined here: datatypes.dmodel
- e.g. commons.dmodel will complain:
How does xtext try to resolve the imports? e.g. does it automatically look for all my *.dmodel files in the whole project?