Starting with devonfw-ide version 2023.07.001
some changes have been made that have a slight impact on compatibility.
Maintainers of settings repositories for devonfw-ide should take immediate action to mitigate potential incompatibility issues.
Sorry for any inconvenience - we created an automatic migration scripts but unfortunately we missed some edge cases for the compatibility.
For details about the root cause see #1085.
The changes and resulting incompatibilities are listed in the following table:
until 2023.04.001 | 2023.07.001 or later |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inside your settings git repository edit the top-level devon.properties
file (see here for the template that you forked) and do the following changes:
-
if present copy the line starting with
MAVEN_VERSION=
and rename the copy toMVN_VERSION=
-
if present copy the line starting with
SONARQUBE_VERSION=
and rename the copy toSONAR_VERSION=
-
if present copy the line starting with
INTELLIJ_EDITION_TYPE=
and rename the copy toINTELLIJ_EDITION=
and change the value tointellij
orultimate
(see table above) -
if present copy the line starting with
ECLIPSE_EDITION_TYPE=
and rename the copy toECLIPSE_EDITION=
and change the value toeclipse
for the default edition (java edition). -
typically you should not define
DOCKER_EDITION
in thisdevon.properties
file but if you do, please note that we have added backward compatibility for the old values in our new releases so you can leave this property untouched.
You can also irgnore the "old" properties and migrate all to the new style and additionally set this property:
DEVON_IDE_MIN_VERSION=2023.07.003
This will cause an error if a user will setup or update its devonfw-ide with a devonfw-ide version older than 2023.07.003
.
As MAVEN_HOME
changed from ${DEVON_IDE_HOME}/software/maven
to ${DEVON_IDE_HOME}/software/mvn
this could cause problems with your workspace configuration:
-
For Eclipse the configration can be found here.
-
For Intellij the configuration can be found in
settings/intellij/workspace/setup/.idea/workspace.xml
orsettings/intellij/workspace/update/.idea/workspace.xml
in the property<option name="mavenHome" value="${DEVON_IDE_HOME}/software/mvn" />
(under<MavenGeneralSettings>
) if present.
In both cases if you want to make it work with the new versions of devonfw-ide but also keep compatibility with older versions so you do not break it for existing users that did not yet update, you can do the following trick:
Use ${MAVEN_HOME}
instead of ${DEVON_IDE_HOME}/software/mvn
that will work in both the old and the new releases.