[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:4.0.4:compile (default-compile) on project org.eclipse.sirius.common.ocl: Compilation failure: Compilation failure:
[ERROR] /home/pcdavid/work/sirius-desktop/git/sirius-desktop/plugins/org.eclipse.sirius.common.ocl/src/org/eclipse/sirius/common/ocl/business/internal/interpreter/OclInterpreter.java:[281]
[ERROR] ocl = OCL.newInstance(EcoreEnvironmentFactory.INSTANCE);
[ERROR] ^^^^^^^^^^^
[ERROR] The method newInstance(EcoreEnvironmentFactory) is undefined for the type OCL
OCL has recently introduced a change which removes the
OCL.newInstance()
static methods (see https://www.eclipse.org/lists/cross-project-issues-dev/msg19930.html and https://bugs.eclipse.org/bugs/show_bug.cgi?id=416470#c16).Sirius Desktop is impacted by the change: