google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Ecore generator does not generate interface unless some class implement it #545

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

interface A{}

which is no problem in following code
interface A{}
class B{isA A;}

What is the expected output? What do you see instead?

Expected
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="" nsURI="" 
nsPrefix="">
  <eClassifiers xsi:type="ecore:EClass" name="A" interface="true" abstract="true">
  </eClassifiers>
</ecore:EPackage>

Actual
<?xml version="1.0" encoding="UTF-8"?>

Original issue reported on code.google.com by ckchan.cs on 1 May 2014 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 2 May 2014 at 3:58

GoogleCodeExporter commented 9 years ago
Patch applied in r4019

Original comment by ckchan.cs on 9 May 2014 at 9:51