Deploying xtext features [message #1716548] |
Fri, 04 December 2015 12:54  |
Eclipse User |
|
|
|
I have an xtext DSL created from an existing ecore model and built with maven, but opening the editor for the DSL in the deployed user environment results in an injection exception (see attached). What could cause such exceptions?
The error occurs only on the deployed feature in a user environment (which has all the dependencies installed, including the ecore model on which the DSL is based).
One of the exceptions mentions a missing '.xmi' file, but that doesn't seem to be generated by Xtext, and is not present in the development environment where the editor does work.
I'm not sure if this could be the reason but in my pom files I have configured the tycho-compiler-plugin so that it doesn't copy resources, and therefore only class files in source folders are packaged. I'm wondering if there are some non-class files generated by xtext and/or xtend that we should be packaging? Do we need to package the .xtextbin/.xtendbin files?
I'm also attaching the workflow, in case that provides any hints.
Thanks
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03950 seconds