Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xText 2.9 Gradle build error
xText 2.9 Gradle build error [message #1700704] Mon, 06 July 2015 14:40 Go to next message
Ian Warwick is currently offline Ian WarwickFriend
Messages: 44
Registered: April 2012
Member
Trying to test drive the new intellij support with xtext 2.9 beta but I am running into an issue.

I am posting this as I hope someone else might be running into this issue and have solved it.

The error is a missing symbol when trying to run gradle assemble.

➜  org.xtext.example.mydsl.idea  gradle assemble
:downloadIdea SKIPPED
:downloadIdeaPlugins SKIPPED
:org.xtext.example.mydsl:compileJava UP-TO-DATE
:org.xtext.example.mydsl:processResources UP-TO-DATE
:org.xtext.example.mydsl:classes UP-TO-DATE
:org.xtext.example.mydsl:jar UP-TO-DATE
:org.xtext.example.mydsl.ide:compileJava UP-TO-DATE
:org.xtext.example.mydsl.ide:processResources UP-TO-DATE
:org.xtext.example.mydsl.ide:classes UP-TO-DATE
:org.xtext.example.mydsl.ide:jar UP-TO-DATE
:compileXtend

ERROR: 	MyDslIdeaSetup.xtend - 
4: org.eclipse.xtext.idea.extensions.EcoreGlobalRegistries cannot be resolved to a type.

ERROR: 	MyDslIdeaSetup.xtend - 
9: The method or field EcoreGlobalRegistries is undefined for the type MyDslIdeaSetup
:compileXtend FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileXtend'.
> Xtend compile failed

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.711 secs



Cheers! Smile
Re: xText 2.9 Gradle build error [message #1701084 is a reply to message #1700704] Thu, 09 July 2015 08:57 Go to previous message
Ian Warwick is currently offline Ian WarwickFriend
Messages: 44
Registered: April 2012
Member
Bump, anyone? Smile
Previous Topic:Preferences page
Next Topic:Match Until (not working)
Goto Forum:
  


Current Time: Thu Mar 28 23:44:55 GMT 2024

Powered by FUDForum. Page generated in 0.02168 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top