Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: doctor_uv on July 05, 2007, 09:04:17 am

Title: problem with transfer export import reference data
Post by: doctor_uv on July 05, 2007, 09:04:17 am
I am trying to move my transformation and codegen templates from one project file to another. However, I get a unique index error when I try to do that with my modified version for the second time and it does not work.

Is this a bug maybe? For the model XMI I can select to ignore GUIDs of the elements - for the reference data this is missing..... :-(

Do I have to manually modify the XML file during the transfer?? Is there a way to delete unused templates? Do I have to get my DBA shirt out and do it in the database?
Question over questions - I seem to have found an area where the workflow is not completely sound....

Any help is greatly appreciated as the current solutions seem very tedious.  ;)
Title: Re: problem with transfer export import reference
Post by: doctor_uv on July 05, 2007, 09:38:02 am
so the DBA approach works on an oracle based model .....

I can go to the database and

[glb]delete from t_template where templateType like '%_Template';[/glb]
after that the import of the modified templates from the other EA model works! :)

seems very awkward though!
and won't help if you are using EAP files ????
Title: Re: problem with transfer export import reference
Post by: thomaskilian on July 05, 2007, 12:31:22 pm
Why shouldn't that work with EAP files (just curious)?

Btw. %_template does remove every user defined template, doesn't it?