Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340772 - [editor] New empty *.ecore file saves as text
Summary: [editor] New empty *.ecore file saves as text
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 11:05 EDT by Ed Willink CLA
Modified: 2011-05-27 03:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-03-23 11:05:20 EDT
M6: Create a new empty EMF project.

New File temp.ecore.

-> Exception as Ecore editor open fails; not this problem

Open with OCLinEcore.
Add a package p { class c {}}
Save

Resulting temp.ecore contains text not XMI.
Comment 1 Ed Willink CLA 2011-04-13 13:07:02 EDT
Empty file is now categorized by its potential ResourceFactory and given default initial content.
Comment 2 Ed Willink CLA 2011-05-27 03:13:49 EDT
Closing