Creating xtext-language project built by Maven3 [message #1684948] |
Wed, 18 March 2015 12:49  |
Eclipse User |
|
|
|
Hi all,
I'm attempting to create a project hosting our DSL files that is built via Maven. For this, we use the existing fornax mwe2 builder plugin, because our language still uses the old mwe2 scripts to generate the code. All the validators, scoping, and so on are written in Java classes.
However, the Xtext project builder does not seem to use the maven classpath, and fails to find a class XX located in a jar that is a transitive dependency of the language plugin.
> language plugin
->depends : other plugin
---> depends : third plugin containing class XX
That same jar also is included in the platform, and the OSGi console shows the corresponding package is available (although it's not in the language plugin's direct dependencies).
We are using version 2.4.3 of XText.
The main question is, what classpath does the XText builder use when the project is not a PDE project? Does it look for dependencies on the project's classpath? Or through OSGi dependency resolution? And, in this case, is there a need to re-export the packages from the third plugin, even though they're only used in the second one?
Thanks
Jérôme
[Updated on: Wed, 18 March 2015 12:56] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04286 seconds