Broken Build when changing grammar with org.eclipse.xtext.xbase.Xbase [message #1802615] |
Tue, 12 February 2019 16:18  |
Eclipse User |
|
|
|
Hi,
I'm trying to modify a xtext project I created in the new wizard to extend the xbase grammar instead of the terminals. When running the parent pom out of the box all my projects build, but when I update my grammar to include "with org.eclipse.xtext.xbase.Xbase" the maven build breaks with this error below. How do I update the build files to make everything build again?! - Duncan
721 [org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main()] INFO text.xtext.generator.XtextGenerator - Generating common infrastructure
9743 [org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main()] ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems running workflow com.krebsnet.xstream.script.GenerateXScript:
[ERROR]: GeneratorException: (Element: -UNKNOWN-; Reported by: XtextGenerator)
org.eclipse.xtext.util.RuntimeIOException: java.io.FileNotFoundException: /Users/dkrebs/tradenet/code/platform/0.1.0/workspaces/0.1.0-20/com.xxxx.xstream.script.parent/com.xxxx.xstream.script/../com.krebxxxnet.xstream.script/src-gen/com/xxxx/xstream/script/parser/antlr/internal/InternalXScriptLexer.java (No such file or directory)
|
|
|
|
|
Re: Broken Build when changing grammar with org.eclipse.xtext.xbase.Xbase [message #1802902 is a reply to message #1802641] |
Mon, 18 February 2019 13:01   |
Eclipse User |
|
|
|
Thanks for the tip, I added the domain model projects in my workspace but when trying to build from the releng pom i get this error.
[ERROR] An error occurred while transferring artifact packed: osgi.bundle,org.eclipse.xtext,2.17.0.v20190213-0949 from repository http://download.eclipse.org/modeling/tmf/xtext/updates/nightly/head:
[ERROR] Problems downloading artifact: osgi.bundle,org.eclipse.xtext,2.17.0.v20190213-0949.:
[ERROR] SHA-256 hash is not as expected. Expected: 1fc929aee33f0af614e9d083c7b22fd4bd83fac5e310ea43728b0f7ea33944ee and found 3de7be7f34e37ac74ba68841612fc2a2a7d8d904e6faf62414b59f6b7b47088f.
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.xtext,2.17.0.v20190213-0949 into the local Maven repository.See log output for details. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.xtext,2.17.0.v20190213-0949 into the local Maven repository.See log output for details.
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.xtext,2.17.0.v20190213-0949 into the local Maven repository.See log output for details.
at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact(MirroringArtifactProvider.java:226)
|
|
|
|
Powered by
FUDForum. Page generated in 0.46133 seconds