0

Good day, colleagues!

I want to convert UML file generated in StarUML to OWL. I'm trying to use Eclipse ODM implementation for this purpose. The problem is I can't import UML file to Eclipse to begin transformation. I create new EMF project and trying to import XMI file from StarUML and get error:

org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'null' not found. (file:/C:/Users/Senya/Desktop/test_test_test.xmi, 3, 13)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1307)

Does anybody know how correctly import StarUML files to Eclipse?

4

2 回答 2

1

This is impossible because StartUML is UML 1.4 structure while Eclipse is using UML 2.0. You can not convert UML 1.* to UML 2.* because this is not backward compatible !!

于 2011-02-23T15:34:27.853 回答
0

如果可以将您的 UML 1.4 模型从 StarUML 导出到 XMI,那么您可以将您的模型导入Enterprise Architect

Enterprise Architect与 Eclipse 有很好的集成,我确信还有其他工具可以用于类似的方法。

于 2011-03-11T00:21:37.077 回答