Return a set of Tuple in OCLInEcore editor [message #1241116] |
Fri, 07 February 2014 09:07  |
Eclipse User |
|
|
|
Hello everyone,
When defining an operation returning a set of tuples using OCLInEcore editor like this: operation createTupleSet() : Tuple(name : String, alias : String[*])[*] {ordered} , the return type is always considered as Void and thus, I've always got the following error:
Quote:An operation with void return type must have an upper bound of 1 not -1 . Would you mind telling me what is the proper way of declaring an operation with the return type containing Tuples?
Best regards,
[Updated on: Fri, 07 February 2014 09:08] by Moderator
|
|
|
|
Re: Return a set of Tuple in OCLInEcore editor [message #1241836 is a reply to message #1241155] |
Sat, 08 February 2014 11:16   |
Eclipse User |
|
|
|
Hi Ed,
I've got the following errors while trying to install OCL-5.0.0M5 from OCL Milestones Repositories:
Quote:An error occurred while collecting items to be installed
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: org.eclipse.update.feature,org.eclipse.ocl.master,5.0.0.v20140124-1452
By the way, the problem is not solved with OCL-4.2.0M4 and Eclipse Luna, on my computer. Would you mind checking on this issue?
Many thanks,
|
|
|
|
Re: Return a set of Tuple in OCLInEcore editor [message #1243303 is a reply to message #1241836] |
Mon, 10 February 2014 15:23   |
Eclipse User |
|
|
|
Hi
I'm totally confused.
This is a thread about a semantic error but you comment on an
installation error. So I ignore both.
Regards
Ed Willink
On 08/02/2014 16:16, Capi Tali wrote:
> Hi Ed,
> I've got the following errors while trying to install OCL-5.0.0M5 from
> OCL Milestones Repositories:
>
> Quote:
>> An error occurred while collecting items to be installed
>> session context was:(profile=epp.package.standard,
>> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect,
>> operand=, action=).
>> No repository found containing:
>> org.eclipse.update.feature,org.eclipse.ocl.master,5.0.0.v20140124-1452
>
>
> By the way, the problem is not solved with OCL-4.2.0M4 and Eclipse
> Luna, on my computer. Would you mind checking on this issue?
> Many thanks,
|
|
|
|
Powered by
FUDForum. Page generated in 0.05469 seconds