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.
Summary: | Problems importing a CWM based mode from XMI | ||
---|---|---|---|
Product: | java | Reporter: | jfrank <jfrank> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Simple application that reproduces the error |
Description
jfrank
2003-11-26 13:58:08 UTC
Created attachment 12319 [details]
Simple application that reproduces the error
Hi Jose, the application does not work because there is a number of associations in CWM metamodel that are marked as protected. Since the behavior for visibility other than public is not specified in MOF, this will not work and the metamodel can be considered as not wellformed. When I was trying to simulate your problem for the first time, I haven't realized that I changed my copy of the metamodel long time ago so that all associations are public. You can do the same thing to make it work - just replace all occurrences of "protected_vis" by "public_vis" in the XML file. If you have time, you may also try to automate this process for future users by extending our XMI diff file for CWM to do this change. After you do that, you will need to regenerate the JMI interfaces for CWM, since the interfaces for protected associations were not generated previously. Martin Sorry for calling you Jose :). I've just realized that your name is Javier. Apologies... |