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

Bug 340772

Summary: [editor] New empty *.ecore file saves as text
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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