开发者

Import StarUML XMI to Eclipse

Good day, colleagues!

I want to conve开发者_如何学JAVArt 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?


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 !!


If it is possible to export your UML 1.4 model into XMI from StarUML then you could import your model into Enterprise Architect.

Enterprise Architect has very good integration with Eclipse, having said that I am sure there are other tools out there that could use for a similar approach.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜