Hello,
I'm trying to create an extend of UML 2.0 metamodel.
I have XMI file of UML 2.0 metamodel and I've created manually another file that include JMI tags, because the diff file is no available in the OMG page. The diff file contains expressions with special tag javax.jmi.substituteName
attached to elements like Class, Package, Exception, etc.
I've done this things using MDR browser from NetBeans:
1. I instantiate MOF model to create an empty instance of MOF.
2. I import the diff XMI file.
3. I generate JMI interfaces under the "Uml2 model".
4. I try to create a new instance of "uml2" package in "Uml2 model". I can't finish this step successfully because I obtain the following error: Cannot instantiate package because of unexpected exception:
org.netbeans.mdr.util.DebugException.
Could you help me, please?
Thanks and regards,