[mdr-users] Problems with diff file
"Elena Planas" <[email protected]> Mon, 8 May 2006 20:49:52 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_7595_14297025.1147114192199 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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, ------=_Part_7595_14297025.1147114192199 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, <p>I'm trying to create an extend of UML 2.0 metamodel.</p> <p>I have XMI file of UML 2.0 metamodel and I've created manually another f= ile that include JMI tags, because the diff file is no available in the OMG= page. The diff file contains expressions with special tag <i>javax.jmi.sub= stituteName </i>attached to elements like Class, Package, Exception, etc. </p> <div>I've done this things using MDR browser from NetBeans:</div> <div>1. I instantiate MOF model to create an empty instance of MOF.</div> <div>2. I import the diff XMI file.</div> <div>3. I generate JMI interfaces under the "Uml2 model".</div> <div>4. I try to create a new instance of "uml2" package in "= ;Uml2 model". I can't finish this step successfully because I obtain t= he following error: <i>Cannot instantiate package because of unexpected exc= eption:=20 org.netbeans.mdr.util.DebugException.</i></div> <p>Could you help me, please?</p> <p>Thanks and regards,</p> ------=_Part_7595_14297025.1147114192199--