Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Anderl on March 14, 2011, 09:48:03 pm
-
Can someone please give me a hint how to accomplish the equivalent of "Disconnect from version control" (i.e. clearing the "Control Package" checkbox in the GUI) via an (e.g.) VB script? I have a nested hierarchy of packages, several of them version controlled and I'd like to export this hierarchy without the version control. Just setting the "IsControlled" attribute to "False" doesn't seem to be enough.
-
In v8 I think you'll have to edit it directly into the database.
I believe v9 has a function to remove a package from version control.
Geert
-
I'd been afraid of that.
Thanks.
Andreas
-
The method Package.VersionControlRemove() works for me.
Iterate recursively over packages executing it.
-
The method Package.VersionControlRemove() works for me.
I tried that. However, we're using clearcase and every then and when (when cc detects that I'm not looking at the latest version) a clearcase confirmation window (asking for checkout!) pops up needing manual intervention.
Andreas