I followed your UML2Exporter Tutorial using oAW 4.3.1 and stumbled into a problem concerning Stereotypes.
Inside my EA Model there\'s a Class \"Booking\" which has the Stereotype \"MyClass\" applied.
This Stereotype is defined inside the Profile \"MyDSL\".
After using EA_Xmi2Exporter the element \"Booking\" inside the resulting XMI file is missing the aforementioned Stereotype.
Since I\'m using MagicDraw in a similar fashion in another project I know that it exports Stereotype information as follows:
<ownedMember xmi:type=\"uml:Package\" xmi:id=\"_9_5_f720368_1110801802169_446586_0\" name=\"JDK 5.0 Classes\">
<eAnnotations xmi:id=\"_4aqiEBClEeG98fAQk9iKdA\" source=\"appliedStereotypes\">
<contents xmi:type=\"Basic_0:Basic__ModelLibrary\" xmi:id=\"_4aqiERClEeG98fAQk9iKdA\"/>
<contents xmi:type=\"StandardProfileL2_0:StandardProfileL2__modelLibrary\" xmi:id=\"_4arJIBClEeG98fAQk9iKdA\"/>
</eAnnotations>
...
</ownedMember>
So i kind of was expecting something similar from Enterprise Architect and UML2Exporter...
My Eclipse Project is attached.
Could you please help me or point me into the right direction?
Thank you.
EA UML2Exporter Demo
Hi
I didn't work on this project any more.
Please check the following:
- Exporting the DSL before model
- Add exported DSL into export definition (described in) tutorial
More help I can not provide.
Regards.