Book a Demo

Author Topic: Automation Interface and Version Control operation  (Read 3045 times)

mariusz

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Automation Interface and Version Control operation
« on: October 23, 2009, 02:29:22 am »
Hi!

I'd like to use Automation Interface to create a hierarchy of packages.
My project is stored in Oracle Repository.
How can I realize version control operations? For example Check Out on parent package, and automatically add just created child package do the repo?

when I use

parentPackage.VersionControlCheckout("")

I got:
"Package is locked under project security"

Where can I find some documentation and examples which can be helpful?

best regard

mario





« Last Edit: October 23, 2009, 02:32:17 am by kjezyna9 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Automation Interface and Version Control opera
« Reply #1 on: October 23, 2009, 07:07:50 pm »
Depending on how you've setup the security in EA you might need to lock/unlock it before you can do a checkout.
There are some operations on Package (I think) that deal with that.

Geert

mariusz

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Automation Interface and Version Control opera
« Reply #2 on: October 23, 2009, 09:26:21 pm »
Quote
Depending on how you've setup the security in EA you might need to lock/unlock it before you can do a checkout.
There are some operations on Package (I think) that deal with that.

Geert

Thanks Geert
I thought that package lock operation (via EA) is the same like a checkout (via AI).

Additionally in my version of API, Package hasn't got a method: ApplyUserLock(). Now I updated and it is :)

Thanks