Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » [OCLInEcore] Comments disappear when saving the .ecore file
[OCLInEcore] Comments disappear when saving the .ecore file [message #552435] Thu, 12 August 2010 04:30 Go to previous message
Toñi Reina is currently offline Toñi Reina
Messages: 197
Registered: July 2009
Senior Member
Hi,

I'm constraining my metamodel incrementally and iteratively. That
is, although I've written almost all the constraints in the .ecore file
with the OCLInEcore editor, I've commented some constraints in order to
test them little by little. Once I've tested a small set of constraints,
I remove other comments, and so on. Well, at least that was my
intention, because I put between comments some constraints, I saved my
..ecore file and I closed Eclipse.

The problem is that when I have opened Eclipse again, all the
comments in my .ecore file have disappear. I don't know if this is a bug
or if comments are not allowed in the OCLInEcore editor. The editor
seems to recognize them, if you write one line comments with -- or more
than one line comments with /* */.


Thanks in advance,
Toñi
 
Read Message
Read Message
Read Message
Previous Topic:[OCLinEcore] Specifying bidirectional associations
Next Topic:Def expressions in OCLInEcore and the Interactive console.
Goto Forum:
  


Current Time: Wed May 22 14:36:44 EDT 2013

Powered by FUDForum. Page generated in 0.01720 seconds