Hi,
I'm facing a very strange problem with my Ecore importer :
I implement the EMOF.Enumeration and EMOF.EnumerationLiteral this morning
and use them in my importer.
I wrote some tests and all of them run perfectly.
But when I try to replay my test scenario in a workspace :
|importer repository|
importer := EcoreMetaModelImporter withActiveMetaMetamodel.
importer importEcoreMMFile:
'F:\Cours\EclipseWorkbench\essaiEditor2\test.ecore' .
repository := importer asRepository.
self halt.
I encounter an error :
"Import error: unknwon EMOF class EMOF.EnumerationLiteral "
however, when I inspect my importer's metaRepository, EMOF.Enumeration and
EMOF.EnumerationLiteral appear in the metaRepository elements, but not in
its pathMap.
I don't understand why during the test EMOF.Enumeration and
EMOF.EnumerationLiteral are added to the pathMap of the metaRepositrory
and not during a execution in the workspace.
I 've tried to understand when the pathMap is initialized, but did not
find anything that helps me.
Any idea of what can happen ?
Thank
Pierrick.
PS : I have published my bundles : Meta-Ecore-Importer 0.1bouazza and
Meta-EMOF-Model 0.239e.2bouazza this afternoon.