This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 43721 - UML2MOF Tool, problem with the conversion UML XMI -> MOF XMI
Summary: UML2MOF Tool, problem with the conversion UML XMI -> MOF XMI
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 11:48 UTC by olbAP
Modified: 2004-06-01 12:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (56.05 KB, text/plain)
2004-05-24 13:26 UTC, olbAP
Details
uml model, File XMI (59.42 KB, text/html)
2004-05-24 13:59 UTC, olbAP
Details
XMI File, umlmodel (59.42 KB, text/plain)
2004-05-24 14:45 UTC, olbAP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description olbAP 2004-05-24 11:48:54 UTC
JDK version: j2sdk1.4.2_03

Observed Behavior: I try to generate 
the "mofmodel.xmi" file with the uml2mof tool, 
but it contains only the tag <XMI.header> 
without the tag <XMI.content>.

Expected Behavior: After the conversion I 
expected to find some date in the XMI file.

Exact Steps to reproduce the problem: 
1)I generated my *.zuml Project with Poseidon 
Professional Edition 2.3
2)I export Project to XMI (I uncheck the 
option "Save with diagramdata")
3)I used the standalone uml2mof tool to convert 
umlmodel.xmi -> mofmodel.xmi
Comment 1 Martin Matula 2004-05-24 12:25:48 UTC
The UML packages that you want to map to MOF need to be stereotyped by
<<metamodel>> stereotype (according to UML2MOF profile - see
http://mdr.netbeans.org/uml2mof/profile.html). Otherwise nothing gets
mapped.
Comment 2 olbAP 2004-05-24 13:26:15 UTC
Created attachment 15086 [details]
Log file
Comment 3 olbAP 2004-05-24 13:59:46 UTC
Created attachment 15089 [details]
uml model, File XMI
Comment 4 olbAP 2004-05-24 14:45:20 UTC
Created attachment 15093 [details]
XMI File, umlmodel