Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315891 - [editor] 2 keys in org.eclipse.ocl.examples.xtext.oclinecore.ui\plugin.properties concatenated on same line
Summary: [editor] 2 keys in org.eclipse.ocl.examples.xtext.oclinecore.ui\plugin.proper...
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 18:33 EDT by Kit Lo CLA
Modified: 2011-05-27 03:13 EDT (History)
2 users (show)

See Also:


Attachments

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