devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 102 forks source link

Setup doesn't download Eclipse Enterprise edition #1368

Closed duracotton closed 5 months ago

duracotton commented 7 months ago

Expected behavior

Setup downloads Enterprise edition of Eclipse.

Actual behavior

devonfw ide's setup.bat falls back to Standard edition of Eclipse: image

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Create devon.properties entry: "export ECLIPSE_EDITION_TYPE=JEE"
  2. Start setup to install eclipse
  3. Above behaviour shows

Related/Dependent Issues

Comments/Hints:

=> Above is confusing, so how can I configure devon to install Enterprise edition in the end?

Affected version:

devonfw-ide-scripts-2023.09

hohwille commented 6 months ago

@duracotton thanks for reporting this issue and for your precise details what is very valuable to trace down the problem. So mainly I would consider this as a feature request to add support for the enterprise edition of Eclipse. As it seems we earlier supported this "accidentally" or "without being aware of it", it somehow is also a regression bug since something that worked earlier now stopped working. I never used the enterprise edition of Eclipse (only ultimate edition of IntelliJ what seems like a similar use-case). So I added this issue to our board and we will try to implement this.

hohwille commented 6 months ago

Above is confusing, so how can I configure devon to install Enterprise edition in the end?

There was a migration that should have solved this automatically for you: https://github.com/devonfw/ide/blob/master/scripts/src/main/resources/scripts/migrations/2023.07.003#L9

As nobody in our team developing devonfw-ide was actually aware of an enterprise edition of Eclipse it was never covered or tested.

I can find the variable explained in the documentation: https://github.com/devonfw/ide/blob/master/documentation/eclipse.asciidoc

Rationale and details can be found in #1088 and #1086.

Current answer to your question is that it currently is not possible to install Eclipse enterprise edition with devonfw-ide.

hohwille commented 6 months ago

Implementing this issue should be trivial. See how we add support for cpp edition of Eclipse: https://github.com/devonfw/IDEasy/blob/main/cli/src/main/java/com/devonfw/tools/ide/tool/eclipse/EclipseCppUrlUpdater.java