Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ssp on March 04, 2010, 01:19:42 am

Title: EA Automation Interface
Post by: ssp on March 04, 2010, 01:19:42 am
Hi all,
I'm trying to use the EA AI to automatically refresh my EAP to the HEAD Version from VersionControll. I use package.IsVersionControlled() to figure out if given package is under VC. But after that? How to I tell the AI to perform a "GetAllLatest" on the package? I just found package.VersionControl[Add/Remove/CheckIn/Out/Status], which is not what I want I guess...

Many thanks for your help,
Sören
Title: Re: EA Automation Interface
Post by: Aaron B on March 04, 2010, 09:27:45 am
I believe there is a VersionControlGetLatest() method being added to the Package object for EA 8.0.  If you have access to the EA 8.0 beta, see:
http://www.sparxsystems.com/products/ea/beta.html#releasenotes