Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313098

Summary: Ensure binary compatibility from RC1 to M7
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: moritz.eysholdt, sven.efftinge
Version: 1.0.0Flags: sebastian.zarnekow: helios+
Target Milestone: RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2010-05-17 05:52:01 EDT
Some Xtext clients are platform+1 while Xtext is +2. Thus we have to be binary compatible.

A first test revealed some incompatibilities (e.g. with the OCLInEcore implementation):

java.lang.NoSuchMethodError: org.eclipse.xtext.formatting.impl.FormattingConfig.setNoSpace()Lorg/eclipse/xtext/formatting/impl/FormattingConfig$NoSpaceLocator;
at org.eclipse.ocl.examples.xtext.oclinecore.formatting.OCLinEcoreFormatter.setParentheses(OCLinEcoreFormatter.java:199)
at org.eclipse.ocl.examples.xtext.oclinecore.formatting.OCLinEcoreFormatter.configureFormatting(OCLinEcoreFormatter.java:55)
at org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.getConfig(AbstractDeclarativeFormatter.java:70)
at org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.createFormatterStream(AbstractDeclarativeFormatter.java:52)
at org.eclipse.xtext.parsetree.reconstr.Serializer.serialize(Serializer.java:54)
at org.eclipse.xtext.parsetree.reconstr.Serializer.serialize(Serializer.java:61)
at org.eclipse.xtext.resource.XtextResource.doSave(XtextResource.java:283)
[snip]
Comment 1 Moritz Eysholdt CLA 2010-05-17 08:46:31 EDT
I've fixed the mentioned issue. The OCL-In-ECore editor N201005162112 can now be opened without an exception with our CVS HEAD.
Comment 2 Moritz Eysholdt CLA 2010-05-17 08:51:13 EDT
This fixes all known issues with incompatibilities.
Comment 3 Karsten Thoms CLA 2017-09-19 15:48:13 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.