Generated ECore package [message #1692913] |
Mon, 20 April 2015 10:31  |
Eclipse User |
|
|
|
I am building a small grammar to experiment with XText.
The grammar is defined according to the SecretCompartments grammar in the documentation.
grammar uk.co.phoebus.p4.P4
import "http://www.eclipse.org/emf/2002/Ecore" as ecore
generate p4 "http://www.eclipse.org/p4"
From the rules I have defined in the grammar I get as expected the EMF classes that encode the AST.
The problem manifests when I run the eclipse plugin. When I edit a file of the language, I get the message:
An internal error occurred during: "XtextReconcilerJob".
java.lang.IllegalStateException: Unresolved proxy http://www.eclipse.org/p4#//View. Make sure the EPackage has been registered.
I suspect the problem is the url defined in the generate clause. The documentation does not expand on this topic perhaps because is common knowledge for eclipse users.
Is the defined url just a unique identifier or should it correspond to an accessible address where the artifacts produced by XText are stored?
Thank you in advance for your reply.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05555 seconds