Community
Participate
Working Groups
The Codegen, Cpp and Migration jobs: - https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Gerrit-Codegen/413/ - https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Gerrit-Cpp/191/ - https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Gerrit-Migration/167/ fail with: [ERROR] Cannot resolve target definition: [ERROR] Software being installed: org.eclipse.papyrus.junit.feature.feature.group 2.0.0.201710030257 [ERROR] Missing requirement: org.eclipse.papyrus.junit.utils 2.1.0.201710030257 requires 'bundle org.eclipse.papyrus.infra.nattable.common [4.0.0,5.0.0)' but it could not be found [ERROR] Cannot satisfy dependency: org.eclipse.papyrus.junit.feature.feature.group 2.0.0.201710030257 depends on: org.eclipse.papyrus.junit.utils [2.1.0.201710030257] This is because the unit tests rely on the Papyrus JUnit feature and there is no stable update site that contains an older version of this Papyrus JUnit feature, so the feature's dependencies are now in-line with the Papyrus master branch and include bundles like nattable.common [4.0.0,5.0.0), rather than the Oxygen bundles in the range [3.0.0,4.0.0).
Created attachment 271038 [details] Plugin differences between Papyrus 3.0 and 3.2 The bundles required by the Papyrus JUnit feature have been back-ported to the Papyrus streams/3.0-maintenance branch and have now been published to http://download.eclipse.org/modeling/mdt/papyrus/updates/milestones/3.2/. The attached file includes a list of the blugins whose version has changed from Papyrus 3.0 to 3.2.
Updating the target platform to point to this 3.2 update site and increasing the upper bound of the version ranges in our plugins (gerrit https://git.eclipse.org/r/#/c/106163/5) is not enough. There is a compilation error shown in the Tooling job (https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Gerrit-Tooling/941/): [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.25.0:compile (default-compile) on project org.eclipse.papyrusrt.umlrt.tooling.diagram.statemachine: Compilation failure: Compilation failure: [ERROR] /jobs/genie.papyrus-rt/Papyrus-RT-Gerrit-Tooling/workspace/source/plugins/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.diagram.statemachine/src/org/eclipse/papyrusrt/umlrt/tooling/diagram/statemachine/internal/editpolicies/RTStateConnectionPointsCreationEditPolicy.java:[139] [ERROR] return pseudostateHelper.getPositionLocator( [ERROR] ^^^^^^^^^^^^^^^^^^ [ERROR] The method getPositionLocator(Function<? super Pseudostate,OptionalDouble>, Supplier<? extends PortPositionLocator>) in the type BorderItemHelper<Pseudostate> is not applicable for the arguments (Function<? super Pseudostate,OptionalDouble>, super::getPositionLocator) [ERROR] /jobs/genie.papyrus-rt/Papyrus-RT-Gerrit-Tooling/workspace/source/plugins/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.diagram.statemachine/src/org/eclipse/papyrusrt/umlrt/tooling/diagram/statemachine/internal/editpolicies/RTStateConnectionPointsCreationEditPolicy.java:[141] [ERROR] super::getPositionLocator); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] The type of getPositionLocator() from the type SideAffixedNodesCreationEditPolicy is ISideAffixedNodeBorderItemLocator, this is incompatible with the descriptor's return type: PortPositionLocator
Patch https://git.eclipse.org/r/#/c/106163/6 fixes the compilation error, but there are now failures in the JUnit tests; see Bug 526169 and Bug 526274.