eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[releng] Workaround UMLResourcesUtil.init regression #1945

Closed eclipse-ocl-bot closed 2 hours ago

eclipse-ocl-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 529785 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Jan 13, 2018 04:34 EDT | | Modified | Jan 18, 2018 13:19 EDT | | Depends on | 526217 | | Reporter | Ed Willink |

Description

The fix for Bug 526217, post Photon M4, but available in current I-builds breaks 27 OCL JUnit tests that invoke UMLResourcesUtil.init() to initialize content types.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Jan 13, 2018 04:36

If the regression is not fixed for M5 there are a couple of options.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Jan 13, 2018 04:44

(In reply to Ed Willink from comment #1)

  • suppress the calls to UMLResourcesUtil.init when Eclipse is running

Not an option. UMLResourcesUtil.init also configures the solution to:

org.eclipse.ocl.pivot.utilities.ParserException: Failed to load 'platform:/plugin/org.eclipse.ocl.examples.xtext.tests/model/Fruit.uml.oclas' : Unresolved proxy 'pathmap://UML_PROFILES/StandardL2.profile.uml#_0'

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Jan 18, 2018 13:19

Bug 526217. I-builds in use again.