1
Automation Interface, Add-Ins and Tools / ImportPackageXMI()
« on: September 26, 2005, 07:29:00 am »
Hello,
I have tried to automate the HTML documentation process using EA’s COM API. The idea is to have it run nightly, check out the XMI files from CVS, generate the HTML reports and copy the HTML to our web directory.
However, I ran into a problem in that some XMI file are created as “root model”, so when importing an XMI file into a EA Project a dialog pops up requiring manual intervention, which not exactly ideal when your trying to automate something! There doesn’t seem to be a way to suppress this dialog in their API. However, if someone can find out how to turn off “root model” functionality when creating their XMI files, I would appreciate it if you let me know.
-Dano
I have tried to automate the HTML documentation process using EA’s COM API. The idea is to have it run nightly, check out the XMI files from CVS, generate the HTML reports and copy the HTML to our web directory.
However, I ran into a problem in that some XMI file are created as “root model”, so when importing an XMI file into a EA Project a dialog pops up requiring manual intervention, which not exactly ideal when your trying to automate something! There doesn’t seem to be a way to suppress this dialog in their API. However, if someone can find out how to turn off “root model” functionality when creating their XMI files, I would appreciate it if you let me know.
-Dano