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

Bug 344607

Summary: M7 compilation failure
Product: [Modeling] Acceleo Reporter: Ed Willink <ed>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: stephane.begaudeau
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-05-03 12:49:39 EDT
After installing M7, the org.eclipse.ocl.examples.build plugin has 16 errors in two of its mtl files. (The referenced meta-model is in org.eclipse.ocl.examples.pivot).

Each error is duplicated in the Problem view.

7 errors from one file are an inability to access the "interface" variable. Since these all occur following filter() perhaps a bug-fix is the cause.

1 in another file is again in a complex expression:

[for (operation : Operation | type.ownedOperation->sortedBy(name)->select(not isEcoreConstraint()))]

the isEcoreConstraint() is now an "illegal operation signature: (isEcoreConstraint())".
Comment 1 Ed Willink CLA 2011-05-05 01:22:29 EDT
In the absebnce of a workaround, I've reverted to M6a whose problems had workarounds,.
Comment 2 Stephane Begaudeau CLA 2011-05-05 04:53:00 EDT
The fix has been contributed on HEAD. It will be available in Acceleo 3.1.0 RC1
Comment 3 Ed Willink CLA 2011-05-05 09:14:13 EDT
Ta.

Is the fix in https://hudson.eclipse.org/hudson/job/m2t-acceleo-3.1/168/ ?
Comment 4 Stephane Begaudeau CLA 2011-05-05 11:29:17 EDT
Yes the fix is available in 168+
Comment 5 Ed Willink CLA 2011-05-05 14:35:35 EDT
Verified, Acceleo 3.1.0.v20110505-1129 is much better in this respect.