[mwe2] unmapped paths platform:/resource/ [message #1735121] |
Wed, 15 June 2016 12:22  |
Eclipse User |
|
|
|
Hi,
I am running a MWE2 workflow from the command line, outside eclipse (using an ant file which lunches org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher)
I have a problem with URIs in the form of "platform:/resource/..."
For example, in my worflow, I have
...
language = StandardLanguage {
referencedResource = "platform:/resource/..../xyz.genmodel"
...
because the grammar of my DSL references the grammar of another one.
When running the workflow, I get this error:
...
java.io.IOException: The path '/..../xyz.genmodel' is unmapped
...
Note that "platform:/resource" has been stripped.
I know that the problem is not limited to the case of "referencedResource" but appears every other time there is some reference to URIs in the form "platform:/resource".
I am using the jars of Xtext 2.9.
In older versions, the MWE2 file was different and the StandaloneSetup used to have the attribute platformUri, which I could set. Now I can't.
I'm not sure how "platform:/resource" gets resolved or why it gets stripped in the exception message.
Thanks for any suggestion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11723 seconds