2.6.1 is available

304 views
Skip to first unread message

Sven Efftinge

unread,
Jun 15, 2014, 2:28:24 PM6/15/14
to xtend...@googlegroups.com
Hi all,

Xtend 2.6.1 is now available for download.
The following bugs have been fixed:

https://bugs.eclipse.org/bugs/buglist.cgi?status_whiteboard=v2.6.1

Regards,
Sven

Toby Kurien

unread,
Jun 17, 2014, 3:25:29 AM6/17/14
to xtend...@googlegroups.com
Not sure if this is just my project or a problem with Xtend 2.6.1, but my project that previously compiled perfectly with 2.6.0 now gives a very odd compilation error on 2.6.1: "com.badlogic.gdx.graphics.Texture cannot be resolved to a type". The strange part is that I opened libs/gdx.jar and confirmed the class is there, and a Ctrl+Space autocompletes the import correctly. I can even use Ctrl+Shift+T to bring up the class and open it. This also happens with the "com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType" class. Really not sure what's going on or how to fix this.

Sven Efftinge

unread,
Jun 17, 2014, 3:27:56 AM6/17/14
to xtend...@googlegroups.com
Do you have anything in the ErrorLog View?

--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Toby Kurien

unread,
Jun 17, 2014, 3:33:52 AM6/17/14
to xtend...@googlegroups.com
Yes:

org.eclipse.xtext.common.types.access.impl.AbstractClassMirror  - resource is empty: java:/Objects/com.badlogic.gdx.graphics.glutils.ShapeRenderer

org.eclipse.xtext.common.types.access.impl.AbstractClassMirror  - resource is empty: java:/Objects/com.badlogic.gdx.graphics.Texture

Session Data:
eclipse.buildId=4.4.0.I20140522-1330
java.version=1.7.0_07
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product

Lots of this error too:

Could not retrieve interfaces

org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type java.lang.annotation.Annotation cannot be resolved. It is indirectly referenced from required .class files
    at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:143)
    at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:208)
    at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle(ProblemReporter.java:2365)
    at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect(ProblemReporter.java:4674)
    at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:104)
    at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:179)
    at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.superInterfaces(BinaryTypeBinding.java:1794)
    at org.eclipse.jdt.core.dom.TypeBinding.getInterfaces(TypeBinding.java:509)
    at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.setSuperTypes(JdtBasedTypeFactory.java:948)
    at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType(JdtBasedTypeFactory.java:494)
    at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType(JdtBasedTypeFactory.java:426)
    at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType(JdtBasedTypeFactory.java:391)
    at org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType(JdtBasedTypeFactory.java:1)
    at org.eclipse.xtext.common.types.access.jdt.JdtTypeMirror.initialize(JdtTypeMirror.java:37)
    at org.eclipse.xtext.common.types.access.TypeResource.doLoad(TypeResource.java:113)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
    at org.eclipse.xtext.common.types.access.TypeResource.load(TypeResource.java:100)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.xtext.resource.XtextResourceSet.getResource(XtextResourceSet.java:201)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:199)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:259)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.eclipse.xtext.common.types.impl.JvmAnnotationReferenceImpl.getAnnotation(JvmAnnotationReferenceImpl.java:98)
    at org.eclipse.xtext.xbase.util.XExpressionHelper.findAnnotation(XExpressionHelper.java:168)
    at org.eclipse.xtext.xbase.util.XExpressionHelper.findPureAnnotation(XExpressionHelper.java:158)
    at org.eclipse.xtext.xbase.util.XExpressionHelper.hasSideEffects(XExpressionHelper.java:119)
    at org.eclipse.xtext.xbase.util.XExpressionHelper.hasSideEffects(XExpressionHelper.java:89)
    at org.eclipse.xtend.core.typing.XtendExpressionHelper.hasSideEffects(XtendExpressionHelper.java:24)
    at org.eclipse.xtext.xbase.validation.XbaseJavaValidator.checkInnerExpressions(XbaseJavaValidator.java:696)
    at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.xtext.validation.AbstractDeclarativeValidator$MethodWrapper.invoke(AbstractDeclarativeValidator.java:118)
    at org.eclipse.xtext.validation.AbstractDeclarativeValidator.internalValidate(AbstractDeclarativeValidator.java:311)
    at org.eclipse.xtext.validation.AbstractInjectableValidator.validate(AbstractInjectableValidator.java:66)
    at org.eclipse.xtext.validation.CompositeEValidator.validate(CompositeEValidator.java:127)
    at org.eclipse.emf.ecore.util.Diagnostician.doValidate(Diagnostician.java:171)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:158)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:137)
    at org.eclipse.xtext.validation.CancelableDiagnostician.validate(CancelableDiagnostician.java:36)
    at org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:185)
    at org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:48)
    at org.eclipse.xtext.xbase.validation.XbaseDiagnostician.doValidateContents(XbaseDiagnostician.java:46)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:137)
    at org.eclipse.xtext.validation.CancelableDiagnostician.validate(CancelableDiagnostician.java:36)
    at org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:185)
    at org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:48)
    at org.eclipse.xtext.xbase.validation.XbaseDiagnostician.doValidateContents(XbaseDiagnostician.java:46)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:137)
    at org.eclipse.xtext.validation.CancelableDiagnostician.validate(CancelableDiagnostician.java:36)
    at org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:181)
    at org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:48)
    at org.eclipse.xtext.xbase.validation.XbaseDiagnostician.doValidateContents(XbaseDiagnostician.java:46)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:137)
    at org.eclipse.xtext.validation.CancelableDiagnostician.validate(CancelableDiagnostician.java:36)
    at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:120)
    at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:141)
    at org.eclipse.xtext.xbase.annotations.validation.DerivedStateAwareResourceValidator.validate(DerivedStateAwareResourceValidator.java:33)
    at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:99)
    at org.eclipse.xtend.core.validation.CachingResourceValidatorImpl.access$0(CachingResourceValidatorImpl.java:1)
    at org.eclipse.xtend.core.validation.CachingResourceValidatorImpl$1.get(CachingResourceValidatorImpl.java:28)
    at org.eclipse.xtend.core.validation.CachingResourceValidatorImpl$1.get(CachingResourceValidatorImpl.java:1)
    at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:75)
    at org.eclipse.xtend.core.validation.CachingResourceValidatorImpl.validate(CachingResourceValidatorImpl.java:48)
    at org.eclipse.xtext.ui.validation.DefaultResourceUIValidatorExtension.addMarkers(DefaultResourceUIValidatorExtension.java:60)
    at org.eclipse.xtext.ui.validation.DefaultResourceUIValidatorExtension.updateValidationMarkers(DefaultResourceUIValidatorExtension.java:45)
    at org.eclipse.xtext.builder.builderState.MarkerUpdaterImpl.processDelta(MarkerUpdaterImpl.java:82)
    at org.eclipse.xtext.builder.builderState.MarkerUpdaterImpl.updateMarkers(MarkerUpdaterImpl.java:64)
    at org.eclipse.xtext.builder.builderState.AbstractBuilderState.updateMarkers(AbstractBuilderState.java:81)
    at org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:262)
    at org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:112)
    at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:188)
    at org.eclipse.xtext.builder.impl.XtextBuilder.fullBuild(XtextBuilder.java:214)
    at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:89)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:328)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    at org.eclipse.core.internal.resources.Project.build(Project.java:124)
    at org.eclipse.xtext.builder.impl.BuildScheduler$BuildJob.run(BuildScheduler.java:164)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Toby Kurien

unread,
Jun 17, 2014, 3:35:01 AM6/17/14
to xtend...@googlegroups.com
Also this, not sure if related:

Could not retrieve superclass

org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type android.database.sqlite.SQLiteOpenHelper cannot be resolved. It is indirectly referenced from required .class files

    at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:143)
    at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:208)
    at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle(ProblemReporter.java:2365)
... etc.

Sebastien Diot

unread,
Jun 19, 2014, 9:00:37 AM6/19/14
to xtend...@googlegroups.com
What about Maven? I just tried to update to 2.6.1, and I get this from Maven:

[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.6.1:compile (default) on project jactor2-xtend: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.6.1:compile failed: Plugin org.eclipse.xtend:xtend-maven-plugin:2.6.1 or one of its dependencies could not be resolved: Failed to collect dependencies for org.eclipse.xtend:xtend-maven-plugin:jar:2.6.1 (): No versions available for org.eclipse.xtend:org.eclipse.xtend.core:jar:[2.6.1] within specified range -> [Help 1]

OTOH, Maven search seems to say it's there: http://search.maven.org/#search|ga|1|g%3A%22org.eclipse.xtend%22

Any clue what that could be? The POM is here Just replace 2.6.0, by 2.6.1 ...

Christian Dietrich

unread,
Jun 19, 2014, 1:00:09 PM6/19/14
to xtend...@googlegroups.com
I just tried it with a clean maven repo

Sebastien Diot

unread,
Jun 19, 2014, 2:50:28 PM6/19/14
to xtend...@googlegroups.com
On Thursday, June 19, 2014 7:00:09 PM UTC+2, Christian Dietrich wrote:
I just tried it with a clean maven repo

Are you trying to answer me? Because I don't think I said that. In fact, I can't find this exact text at all in this forum, using the search.

Christian Dietrich

unread,
Jun 19, 2014, 5:44:07 PM6/19/14
to xtend...@googlegroups.com
sorry for the quoting thing - i hate the google groups webinterface

Yes i tried the following on my machine
  1. clean the maven repo
  2. create a maven project based on your pom
  3. mvn clean install
Everything works fine. 

Sebastien Diot

unread,
Jun 19, 2014, 7:34:34 PM6/19/14
to xtend...@googlegroups.com

OK. So the POM is OK. And even Eclipse finds the jars. So, somehow, my Maven is "confused". In all cases, it does not seem to be an "Xtend problem". I'll try again tomorrow; maybe it'll work then...

Toby Kurien

unread,
Jun 30, 2014, 12:06:16 PM6/30/14
to xtend...@googlegroups.com
Just FYI, I switched back to v2.6.0 and it compiles fine, so definitely some issue with v2.6.1. I've logged a bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=438544


On Tuesday, 17 June 2014 09:33:52 UTC+2, Toby Kurien wrote:

chrs wk

unread,
Jul 2, 2014, 3:34:59 AM7/2/14
to xtend...@googlegroups.com
Is a 2.6.2 (or 2.6.1 bugfix) release already scheduled?

Sven Efftinge

unread,
Jul 2, 2014, 3:41:03 AM7/2/14
to xtend...@googlegroups.com
Yes, we are working on it.
Will be out soon.
signature.asc

chrs wk

unread,
Jul 2, 2014, 9:01:32 AM7/2/14
to xtend...@googlegroups.com
Awesome, thanks!

-Chris

brsa...@gmail.com

unread,
Jul 13, 2014, 11:10:48 PM7/13/14
to xtend...@googlegroups.com
I'm getting the exact same error with version 2.6.2 (I removed the complete maven repo before trying). It is same error if I try with version 2.6.1 however it works fine with 2.6.0.

[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.6.2:compile (default) on project com.brsanthu.common: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.6.2:compile failed: Plugin org.eclipse.xtend:xtend-maven-plugin:2.6.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.6.2, org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.6.2: Could not find artifact org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.6.2 -> [Help 1]

Any pointers?

brsa...@gmail.com

unread,
Jul 14, 2014, 11:48:10 AM7/14/14
to xtend...@googlegroups.com, brsa...@gmail.com
I have an update on this.

I'm using guava in the same project where I'm using xtend. As Xtend was resolving the Guava version to 14.0.1 but I wanted latest version (17.0), I tried to exclude guava from pom like below, which resulted in that error. However, if I still keep the exclusions as is and down my guava version to 16.0.1, everything works. So it is something to do with Guava 17.0 incompatibility with xtend.

<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
<version>${xtend-version}</version>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.oehme.xtend</groupId>
<artifactId>xtend-contrib</artifactId>
<version>${xtend-contrib-version}</version>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
</dependency>
Reply all
Reply to author
Forward
0 new messages