vaadin / eclipse-plugin

Vaadin Plugin for Eclipse
https://vaadin.com/eclipse
16 stars 8 forks source link

Mylyn conflict when trying to install #812

Open JaakkoHintsala opened 8 months ago

JaakkoHintsala commented 8 months ago

Hello,

I cannot install Vaadin plugin on eclipse due to dependency conflict.

Steps to reproduce:

  1. Install latest eclipse (2023-12) for linux https://www.eclipse.org/downloads/packages/release/2023-12/r/eclipse-ide-enterprise-java-and-web-developers

  2. Attempt to install Vaadin plugin from the Eclipse marketplace

mylyn_conflict

I tested earlier versions of Eclipse and it seems that 2023-3 is the last version that works.

szolo commented 7 months ago

Hello @JaakkoHintsala, thanks for reporting! What will happen if you would select "Update my installation to be compatible with the items being installed"?

JaakkoHintsala commented 7 months ago

Hello, Thanks for the quick response.

if I proceed with the "Update my installation to be compatible with the items being installed" choice, the Vaadin plugin does install, but the Mylyn stuff will be removed.

JaakkoHintsala commented 6 months ago

@szolo Any update on this?

JaakkoHintsala commented 3 months ago

Small follow-up:

This is the error message:

Cannot complete the install because of a conflicting dependency. Software being installed: Vaadin Plug-in for Eclipse 4.1.7 (com.vaadin.integration.eclipse.feature.group 4.1.7) Software currently installed: Mylyn Commons Activity 4.2.0.v20240203-1124 (org.eclipse.mylyn.commons.activity.feature.feature.group 4.2.0.v20240203-1124) Only one of the following can be installed at once: Mylyn Commons 3.25.2.v20200813-0821 (org.eclipse.mylyn.commons.screenshots 3.25.2.v20200813-0821) Mylyn Commons 4.1.0.v20231009-0014 (org.eclipse.mylyn.commons.screenshots 4.1.0.v20231009-0014) Mylyn Commons 4.2.0.v20240203-1124 (org.eclipse.mylyn.commons.screenshots 4.2.0.v20240203-1124) Cannot satisfy dependency: From: Vaadin Plug-in for Eclipse 4.1.7 (com.vaadin.integration.eclipse.feature.group 4.1.7) To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.commons.screenshots [3.25.2.v20200813-0821,3.25.2.v20200813-0821] Cannot satisfy dependency: From: Mylyn Commons Activity 4.2.0.v20240203-1124 (org.eclipse.mylyn.commons.activity.feature.feature.group 4.2.0.v20240203-1124) To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.commons.feature.feature.group 4.2.0 Cannot satisfy dependency: From: Mylyn Commons 4.2.0.v20240220-1942 (org.eclipse.mylyn.commons.feature.feature.group 4.2.0.v20240220-1942) To: org.eclipse.equinox.p2.iu; org.eclipse.mylyn.commons.screenshots [4.2.0.v20240203-1124,4.2.0.v20240203-1124]

On Eclipse 2024-3 linux

Apparently Vaadin requires some 2020 mylyn screenshot package that causes a conflict with eclipse's Mylyn.

JaakkoHintsala commented 3 months ago

Perhaps this problem is caused by the org.apache.ivyde.eclipse dependency as it requires some very old eclipse versions.

https://github.com/apache/ant-ivyde/blob/master/org.apache.ivyde.feature/feature.xml

JaakkoHintsala commented 3 weeks ago

It turns out that besides the Vaadin designer you don't need this plugin for anything. Vaadin license also works without this.

So my advice to anyone developing a Vaadin application in Eclipse:

Just get the latest Eclipse IDE and don't install this plug-in. (as long as this is not fixed)