Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344607 - M7 compilation failure
Summary: M7 compilation failure
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows Vista
: P3 major
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 12:49 EDT by Ed Willink CLA
Modified: 2011-05-05 14:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.