Skip to content
Just a reminder that EPackage in .ecore file is different than the genmodel-generated Java EPackage.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
META-INF
model
src/org/soluvas/emfgenbug
.classpath
.gitignore
.project
README.textile
build.properties
plugin.properties
plugin.xml

README.textile

EMF GenModel Bug

Just a reminder that EPackage in .ecore file is different than the genmodel-generated Java EPackage.

do NOT load EPackage from .ecore file, because the EClassifier index number would be different
than the actual genmodel-generated .java

so we use Class.forName instead to get the generated EPackage class, then get the eINSTANCE
from there

You can’t perform that action at this time.