Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL invariants in ecore file doesn't work reliable(usage of OCLinEcore editor)
OCL invariants in ecore file doesn't work reliable [message #1187823] Fri, 15 November 2013 09:50 Go to next message
Yannic Noller is currently offline Yannic NollerFriend
Messages: 5
Registered: May 2013
Junior Member
Hi all,

I have a problem with the OCLinEcore editor and I already wrote a bug report to Eclipse, but didn't receive any answer. Could anybody help me? It's a really strange thing: I write some OCL invariants with the OCLinEcore editor in my meta model file, then I save and close it. When I reopen the file in OCLinEcore, the invariants are crashed (see bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=416641). Do you see an error in my code or is this an error of Eclipse?

Thanks in advance,
Yannic

[Updated on: Sat, 16 November 2013 11:51]

Report message to a moderator

Re: OCL invariants in ecore file doesn't work reliable [message #1187968 is a reply to message #1187823] Fri, 15 November 2013 11:20 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Unfortunately you raised Bug 416641 against the MDT/MST project rather
than the OCL project. The MST project is almost dead so nobody saw your
report. I've transferred the bug to MDT/OCL.

What you are doing looks perfectly reasonable so I've added a comment to
the bug requesting your full repro.

Up until Kepler, saving an OCLinEcore file as *.ecore when it contains
errors would lead to losses. The lossy save should be inhibited in Kepler.

[As a general guide, don't wait two months before inquiring further, two
working days is a reasonable delay if it's urgent for you.]

Regards

Ed Willink

On 15/11/2013 09:50, Yannic Noller wrote:
> Hi all,
>
> I have a problem with the OCLinEcore editor and I already wrote a bug
> report to Eclipse, but didn't receive any answer. Could anybody help
> me? It's a really strange think: I write some OCL invariants with the
> OCLinEcore editor in my meta model file, then I save and close it.
> When I reopen the file in OCLinEcore, the invariants are crashed (see
> bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=416641). Do
> you see an error in my code or is this an error of Eclipse?
>
> Thanks in advance,
> Yannic
Re: OCL invariants in ecore file doesn't work reliable [message #1190088 is a reply to message #1187968] Sat, 16 November 2013 11:50 Go to previous messageGo to next message
Yannic Noller is currently offline Yannic NollerFriend
Messages: 5
Registered: May 2013
Junior Member
Thanks for your hints! So you would say that it should work with Kepler? Because I use at the moment Juno and I tried now to import my projects in a Kepler instance and there I didn't get the described error... Unfortunately I can't use Kepler for my whole work because some required modelling plug-ins are not compatible with Kepler at the moment. Is there any chance to get a bug fix for Juno?

[Updated on: Sat, 16 November 2013 11:51]

Report message to a moderator

Re: OCL invariants in ecore file doesn't work reliable [message #1190307 is a reply to message #1190088] Sat, 16 November 2013 14:20 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I'm afraid there is very little chance of a Juno fix; I'm working
towards Luna.

However the Kepler code should be installable on Luna provided you are
prepared to take a Kepler Xtext too.

Regards

Ed Willink


On 16/11/2013 11:50, Yannic Noller wrote:
> Thanks for your hints! So you would say that it should work with
> Kepler? Because I use at the moment Juno and I tried now to import my
> projects in a Kepler instance and there I didn't get the described
> error... Unfortunatly I can't use Kepler for my whole work because
> some required modelling plug-ins are note compatible with Kepler at
> the moment. Is there a chance to get a bug fix for Juno?
>
Re: OCL invariants in ecore file doesn't work reliable [message #1190329 is a reply to message #1190307] Sat, 16 November 2013 14:39 Go to previous messageGo to next message
Yannic Noller is currently offline Yannic NollerFriend
Messages: 5
Registered: May 2013
Junior Member
Okay, but thank you anyway!

Regards,
Yannic
Re: OCL invariants in ecore file doesn't work reliable [message #1190541 is a reply to message #1190307] Sat, 16 November 2013 17:08 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Correction:

On 16/11/2013 14:20, Ed Willink wrote:
> However the Kepler code should be installable on Luna provided you are
> prepared to take a Kepler Xtext too.
However the Kepler code should be installable on Juno provided you are
prepared to take a Kepler Xtext too.
Previous Topic:Miguel Garcia
Next Topic:Constraint reference contents in a subtype
Goto Forum:
  


Current Time: Tue Apr 16 17:48:03 GMT 2024

Powered by FUDForum. Page generated in 1.62768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top