Problem with import warning in xtext grammar [message #1404598] |
Mon, 04 August 2014 11:39 |
|
I have the following import in my xtext grammar:
import "platform:/resource/com.puppetlabs.geppetto.pp/model/PP.ecore" as pp
Everything works fine but I get a warning:
"The imported package is not on the classpath of this project which may lead to follow up errors."
This raises a couple of questions:
1. Which "package" is it referring to? Is it the package where the actual ecore file resides (model) or the package that is declared in the ecore declaration (pp)? None of them are on the classpath and none of the should be.
2. Does xtext look into the adjacent PP.genmodel file to find what packages that should be imported?
3. I've tried various ways of getting rid of the warning to no avail. Googling reveals that I'm not alone with this problem. Is there some way I can ignore the warning?
[Updated on: Mon, 04 August 2014 11:41] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03353 seconds