UML2MOF Tool and mdr with Netbeans 5.0

View: New views
3 Messages — Rating Filter:   Alert me  

UML2MOF Tool and mdr with Netbeans 5.0

by Nina Moebius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I have two questions:

1) I am trying to convert a uml model into a mof model. To generate my
UML model I use Poseidon For UML CE 4.0.1 with the template given on
your website (http://mdr.netbeans.org/uml2mof/templates.html). By using
the UML2MOF tool with the xmi file created by Poseidon I get the
following error: "Namespace cannot be resolved: UML2". Do you know a
tool I can use to generate a xmi file that can be processed by the
UML2MOF tool?

2) I downloaded the current version of Netbeans. As far as I know the
mdr is integrated into Netbeans 5.0? How can I use the FreeStyle Browser
and the MDR Explorer?

Thanks for your help,
Nina

 

Re: UML2MOF Tool and mdr with Netbeans 5.0

by Ludovic Maitre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Nina,

Nina Moebius wrote:

> Hi All,
>
> I have two questions:
>
> 1) I am trying to convert a uml model into a mof model. To generate my
> UML model I use Poseidon For UML CE 4.0.1 with the template given on
> your website (http://mdr.netbeans.org/uml2mof/templates.html). By
> using the UML2MOF tool with the xmi file created by Poseidon I get the
> following error: "Namespace cannot be resolved: UML2". Do you know a
> tool I can use to generate a xmi file that can be processed by the
> UML2MOF tool?
>
You can use ArgoUML (version 0.20 at minimum), it should work since from
this version it use the MDR API to store UML 1.4 models. It is
downloadable from http://argouml.tigris.org/

> 2) I downloaded the current version of Netbeans. As far as I know the
> mdr is integrated into Netbeans 5.0? How can I use the FreeStyle
> Browser and the MDR Explorer?
>
> Thanks for your help,
> Nina
>
>
>
>
Best regards,

--
Cordialement,
Ludo - http://www.ubik-products.com
---
"L'amour pour principe et l'ordre pour base; le progres pour but" (A.Comte)

Re: UML2MOF Tool and mdr with Netbeans 5.0

by Angelo Gargantini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nina Moebius wrote:

> Hi All,
>
> I have two questions:
>
> 1) I am trying to convert a uml model into a mof model. To generate my
> UML model I use Poseidon For UML CE 4.0.1 with the template given on
> your website (http://mdr.netbeans.org/uml2mof/templates.html). By using
> the UML2MOF tool with the xmi file created by Poseidon I get the
> following error: "Namespace cannot be resolved: UML2". Do you know a
> tool I can use to generate a xmi file that can be processed by the
> UML2MOF tool?
>
You can use the xslt script. It works for me.
I was not able to find again  the original message on user list where
the original author John V. Sichi announced the script, but you can find
it here:

http://article.gmane.org/gmane.comp.java.netbeans.modules.mdr.user/3470


You can processs by the script (like "xsltproc deleteUmlDiagrams.xsl
MMMM.xmi > MMMM_nouml2.xmi")
your xmi file (even with graphics information) to get a real xmi file,
which can be read by UML2MOF tool.

Angelo Gargantini