Two DSL in same project [message #1740725] |
Wed, 17 August 2016 15:22  |
Eclipse User |
|
|
|
Hi,
I already have a DSL (xtext file) in my project working fine and also a mwe2 with workflow, bean = StandaloneSetup and a language = auto-inject section. It's an Eclipse plugin already in production. But I would like to add one more DSL in this project (other xtext file) to generate some others helper files and use the same Eclipse plugin. I've created this other xtext file (together with the first file). But in the second xtext file, it has compilation errors as: Cannot create type for ServiceProperties because its EPackage is unknown. I think it happens because the artifacts for this DSL aren't being generated. If I put into the begining of xtext file the line: generate mydsl "http://www.some.com/x/y", the erros disappear. So I configure one more secction language = auto-inject in my mwe2 file and run MWE2 Workflow but happens the error: Could not find a GenModel for EPackage 'http://www.some.com/x/y' from http://www.some.com/x/y.
Someone can help me?
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04131 seconds