Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Tehila1 on May 03, 2015, 11:34:48 pm
-
I would like to enable creating a model from a custom template.
I followed the instructions here: http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_languages/model_templates2.html
As I understand I have to :
1. create a model, export it to XMI.
2. Generate an empty MDG technology.
3. Manually add code to the MTS file.
What is missing? Why the new template is not available from the new model from template wizard?
-
What release of EA are you using - release 8.0?
-
For Sparx EA to see your technology file, you'll need to copy the MDG technology file to C:\Program Files (x86)\Sparx Systems\EA\MDGTechnologies
or
point Sparx EA to the place you have created your technology file
For V12
Menu Extensions>MDG Technologies...
In MDG Dialog click on advanced button at bottom left
Add path to the folder where you created the MDG technology file.
Hope that helps
-
Point 2: You must include, ie refer to, the template XMI file in your MDG Technology MTS file, but you don't need to create a separate, otherwise empty, MDG Technology just for the template. If you have a working MDG Technology you can add the template reference to its MTS file.
The file reference ("location") must be resolvable from the MTS file directory, so check that the relative path is correct, or use an absolute path.
/U