Hi
I'm trying to load a mse file into VW Moose without using the GUI.
Below is my best shot right now: it doesnt fail but the created model
is empty. I guess that "MooseImporter withActiveMetamodel" is too
optimistic.
Anyway, before I dive once again into the peculiarities of VW, what is
the straightforward way to do that? I couldnt find the right API in
Moose.
model := MooseModel new name: (fileName asFilename tail removeSuffix:
'.mse').
self halt.
loader := MooseImporter withActiveMetamodel.
loader stream: fileName asFilename readStream.
result := loader asTask run.
loader resolveDanglingReferences.
model addEntity: result
--
Simon