Originally posted to Open Discussion Forum:
This is more than likely the fault of my inexperience
with MOF/XMI/etc., but I seem to be having difficulty
setting up a model XMI file and configuration
properties file that can be processed properly using
nsmdf_gen.jar. The problem appears to be with primitive
types - the only primitive type I use in my metamodel
(an entity-relationship model for a design tool I am
working up) is "String", but if I try to reference it
in a Model:Attribute section (i.e. <Model:Classifier
xmi.idref="String"/>) without including the entire
PrimitiveTypes package from the MOF1.4 XMI file and
doing an import of it in my model package, the
generation fails. I have tried a few variations on
XMI.import, xmlns, etc. without success. Is there
something I am am missing? Do you need to see more?
Reply from const on Open Discussion Forum:
XMI imports are not currently supported. You should
embed primitive types package in current model.