Hello all, I need to import some model (packages, use cases, classes, components) from Sparx Enterprise Architect to Papyrus 4.7.
Normally I would export xmi for Sparx (excluding all diagrams), change the file type to *.uml, drag onto a Papyrus project explorer folder, then right click on it and "new Papyrus model" and I should be able to reuse all elements and recreate my diagrams manually. Except now it does not work! The new model wizard gets stuck at "Finish" (there must be some crash/exception somewhere). Maybe it's 4.7 or I'm doing something wrong.
I tried exporting different versions of xmi from Sparx, and also manually editing the xmi to change the uml UIR to Papyrus type. Here are some of the files I tried to import - all failed! Does anyone have any advice?
<?xml version="1.0" encoding="windows-1252"?>
<xmi:XMI xmi:version="2.1" xmlns:uml="http://www.omg.org/spec/UML/20090901" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:thecustomprofile="http://www.sparxsystems.com/profiles/thecustomprofile/1.0"><xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/><uml:Model xmi:type="uml:Model" name="EA_Model"><packagedElement xmi:type="uml:Package" xmi:id="EAPK_85FC466A_60F7_41a6_82E4_6894431106C7" name="2. CONCEPT"><packagedElement xmi:type="uml:Package"
<?xml version="1.0" encoding="windows-1252"?>
<xmi:XMI xmi:version="20131001" xmlns:uml="http://www.omg.org/spec/UML/20090901" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:thecustomprofile="http://www.sparxsystems.com/profiles/thecustomprofile/1.0"><xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/><uml:Model xmi:type="uml:Model" name="EA_Model"><packagedElement xmi:type="uml:Package" xmi:id="EAPK_85FC466A_60F7_41a6_82E4_6894431106C7" name="2.
<?xml version="1.0" encoding="windows-1252"?>
<xmi:XMI xmi:version="2.1" xmlns:uml="http://schema.omg.org/spec/UML/2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:thecustomprofile="http://www.sparxsystems.com/profiles/thecustomprofile/1.0"><xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/><uml:Model xmi:type="uml:Model" name="EA_Model" visibility="public"><packagedElement xmi:type="uml:Package" xmi:id="EAPK_85FC466A_60F7_41a6_82E4_6894431106C7" name="2. CONCEPT"
[<?xml version="1.0" encoding="windows-1252"?>
<xmi:XMI xmi:version="20131001" xmlns:uml="[url]http://www.omg.org/spec/UML/20090901[/url]" xmlns:xmi="[url]http://www.omg.org/spec/XMI/20131001[/url]" xmlns:thecustomprofile="[url]http://www.sparxsystems.com/profiles/thecustomprofile/1.0[/url]"><xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/><uml:Model xmi:type="uml:Model" name="EA_Model"><packagedElement xmi:type="uml:Package" xmi:id="EAPK_85FC466A_60F7_41a6_82E4_6894431106C7" name="2. CONCEPT"><packagedElement xmi:type="uml:Package"
Thanks for any advice
[Updated on: Thu, 21 May 2020 14:42]
Report message to a moderator