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

Bug 315891

Summary: [editor] 2 keys in org.eclipse.ocl.examples.xtext.oclinecore.ui\plugin.properties concatenated on same line
Product: [Modeling] OCL Reporter: Kit Lo <kitlo>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, ed
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kit Lo CLA 2010-06-05 18:33:14 EDT
build: mdt-ocl-examples-3.0.0RC3.zip
file: eclipse\plugins\org.eclipse.ocl.examples.xtext.oclinecore.ui\plugin.properties

MF_CreateDynamicInstance_Description = Create a new Model conatining a Dynamic Instance of this ClassMF_OCLinEcore = OCLinEcore

The second key "ClassMF_OCLinEcore = OCLinEcore" appears on the next line. It should probably be deleted.
Comment 1 Kit Lo CLA 2010-06-05 18:34:20 EDT
The second key should be "MF_OCLinEcore = OCLinEcore"
Comment 2 Ed Willink CLA 2010-06-06 01:30:55 EDT
Thanks. Fixed in HEAD for RC4. "conatining" is also a typo.

I don't understand comment #1. There is nothing wrong with the 'second' key; the problem was that in adding MF_CreateDynamicInstance_Description the new line got lost so MF_OCLinEcore was report as a PDE error. I then added the missing key not noticing it formed part of the previous key.
Comment 3 Kit Lo CLA 2010-06-06 04:42:37 EDT
In the original problem description, I said the second key is "ClassMF_OCLinEcore = OCLinEcore" (with the word "Class" at the beginning). In fact, the second key should be "MF_OCLinEcore = OCLinEcore".

I just wanted to remind you that you should not just add a new line char after the word "Class" to break the second key to the a new line because "MF_OCLinEcore = OCLinEcore" is already on the next line.
Comment 4 Ed Willink CLA 2011-05-27 03:13:30 EDT
Closing