Re: [mdr-users] Clustering the UML for Traceability
Pieter Van Gorp <[email protected]> Fri, 5 Aug 2005 11:55:30 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin, mainly out of curiosity: On 7/21/05, Martin Matula <[email protected]> wrote: > Hi Pieter, > > Pieter Van Gorp wrote: > > >I have a test in which I create a trace between two UML attributes. > >I'm not sure if I'm using the NB/JMI API right when creating the > >clustering extent: I create a new extent and pass an array of size one > >in which the UML application model is stored. When serializing the > >trace extent to XMI, no problems are reported but the references to > >the UML attributes are in fact dangling IDREFs instead of HREFs to the > >original UML-XMI file. > > > > > MDR writer will never generate hrefs - you have to either serialize > everything into a single file, or you can create your own implementation > of XMIReferenceProvider to teach XMI writer to create hrefs. How can I serialize everythin into a single file? Currently, my tracing extent is created with as an argument the UML extent that was already loaded from XMI. Still, when passing the tracing extent to an XMI writer, the UML content is not serialized along. What would I need to do extra? Best regards, -- Pieter.