Xtend IDE 2.21 editor doesn't open and can't build workspace [message #1856369] |
Wed, 07 December 2022 11:14  |
Eclipse User |
|
|
|
I'm trying to setup the IDE for a legacy project that I have to maintain but I can't get the Xtend IDE 2.21 plugin to work correctly in Eclipse 2018-12. The Xtend editor doesn't open and I encounter errors when building the workspace. Unfortunately I don't really have the option to use any other versions of Eclipse or Xtend due to certain important plugins that are incompatible with later versions.
I've reproduced the issue on different machines with these steps:
1. Install Eclipse 2018-12 (Eclipse for Committers, JDK 8) using the Eclipse Installer
2. Add Updatesite http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
3. Install 'Xtend IDE' version 2.21, restart Eclipse
4. Create a new Xtend project with an Xtend class (e.g. the Xtend Introductory Example)
When opening any .xtend files, it doesn't open the file in the Xtend editor but in the simple text editor and asks me to search for marketplace for extensions.
When building the project I get a popup dialog with following message:
> 'Building Workspace' encountered a problem.
> Errors occurred during the build.
> Error instantiating builder 'org.eclipse.xtext.ui.shared.xtextBuilder'.
> Plug-in org.eclipse.xtext.ui.shared was unable to load class org.eclipse.xtext.ui.shared.internal.ExecutableExtensionFactory.
> org/eclipse/xtext/ui/guice/AbstractGuiceAwareExecutableExtensionFactory
> Plug-in org.eclipse.xtext.ui.shared was unable to load class org.eclipse.xtext.ui.shared.internal.ExecutableExtensionFactory.
> org/eclipse/xtext/ui/guice/AbstractGuiceAwareExecutableExtensionFactory
My colleagues told me that this combination of Eclipse+Xtend versions used to work without problems. I've also tried with JDK 11 as well as with Eclipse 2018-12 for DSL developers, which has Xtend 2.16 preinstalled. The default installation works as expected but after upgrading to 2.21 I get the same errors.
The error message lead me to https://www.eclipse.org/forums/index.php/t/1073549/ and https://github.com/eclipse/xtext-eclipse/issues/12 but it seems both cases are about launching products. In my case the issue occurs in my dev environment so the suggestion to change the order in the launch configuration doesn't work for me. I've tried to change the startup order in the bundles.info file but that didn't work.
Any ideas what I can do about this?
[Updated on: Wed, 07 December 2022 11:14] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03029 seconds