Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext intellij build stuck in downloadIdea task(xtext intellij build )
xtext intellij build stuck in downloadIdea task [message #1755530] Sun, 05 March 2017 03:55 Go to next message
paul lu is currently offline paul luFriend
Messages: 34
Registered: April 2013
Member
Hi,

In an intellij build for an xtext DSL, the downloadIdea task gets stuck. Below is the log, which is repeating:

11:51:43.237 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
11:51:43.237 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:51:43.238 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
11:51:53.235 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
11:51:53.236 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
11:51:53.236 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:51:53.236 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
11:51:53.237 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
11:51:53.237 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:51:53.237 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
> Building 38% > :org.xtext.example.mydsl.idea:downloadIdea

Do you come across the same error, can it be a network problem ?

Thanks
Re: xtext intellij build stuck in downloadIdea task [message #1755532 is a reply to message #1755530] Sun, 05 March 2017 04:50 Go to previous messageGo to next message
paul lu is currently offline paul luFriend
Messages: 34
Registered: April 2013
Member
working in IntelliJ following : https://blogs.itemis.com/en/get-started-with-xtext-and-intellij-idea-in-5-minutes
I got the same issue.

Re: xtext intellij build stuck in downloadIdea task [message #1755533 is a reply to message #1755532] Sun, 05 March 2017 04:58 Go to previous messageGo to next message
paul lu is currently offline paul luFriend
Messages: 34
Registered: April 2013
Member
Besides, xtend files cannot be opened in the xtend IntelliJ editor.
Error log:
Error while indexing /Users/paul/IdeaProjects/org.xtext.example.mydsl/org.xtext.example.mydsl.parent/gradle/wrapper/gradle-wrapper.properties
To reindex this file IDEA has to be restarted: org/eclipse/xtext/idea/util/FilteringClassLoader
java.lang.NoClassDefFoundError: org/eclipse/xtext/idea/util/FilteringClassLoader
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:662)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:356)
at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:151)
Re: xtext intellij build stuck in downloadIdea task [message #1755535 is a reply to message #1755533] Sun, 05 March 2017 08:20 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11206
Registered: July 2009
Senior Member
i have to disappoint you.
the status of the xtext/xtend idea support is stale.
nobody is working at it.
the guys how have time dont have the knowledge and not enhough time to digg into) and the guys who have the knowledge dont have time or budget or commitment.
you may read the following: https://www.eclipse.org/Xtext/releasenotes.html
(contributions welcome)


it work with and old xtext version and certain idea versions only



in the past some guy (including me) got it running with
https://www.eclipse.org/forums/index.php/m/1743239/?srch=ideaVersion#msg_1743239


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xtext intellij build stuck in downloadIdea task [message #1755536 is a reply to message #1755535] Sun, 05 March 2017 08:49 Go to previous message
paul lu is currently offline paul luFriend
Messages: 34
Registered: April 2013
Member
ok, thanks for the information. I had seen some news before and just wanted to try the intellij version recently.
Previous Topic:After Update to 2.11: Encoding Problem
Next Topic:Inheriting from Java based validator fails due to changed naming
Goto Forum:
  


Current Time: Sun Sep 24 14:16:02 GMT 2017

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

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