简体   繁体   中英

Import StarUML XMI to Eclipse

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM