Book a Demo

Author Topic: External Compare Utility  (Read 3551 times)

PhilippeWolkowicz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
External Compare Utility
« on: May 11, 2010, 10:49:42 pm »
I want to invoke the compare utility directly from the Version Control tool, e.g. Clear Case, whenever I deliver a package/ XML file and a merge must happen.
I don't want to use the standard XML difftool but I would like either externally calling EA with parameters and then getting the expected output (merged package) or invoking some API that can provide the functionality of the build-in Compare Utility.

Any suggestion? :-?

Philippe

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: External Compare Utility
« Reply #1 on: May 11, 2010, 10:56:18 pm »
There are two methods available in the API Project Interface:
DoBaselineCompare and DoBaselineMerge

Geert

PhilippeWolkowicz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: External Compare Utility
« Reply #2 on: May 12, 2010, 03:28:28 am »
Thanks.
But do I get the EA user interface in order to perform the changes or do you mean that I have to develop that myself?

Philippe

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: External Compare Utility
« Reply #3 on: May 12, 2010, 03:53:32 am »
Philippe,

I haven't used it myself, but the documentation seems to suggest that it will not trigger any GUI actions.

It would be nice if we could trigger the GUI compare from the API.
You can request this as a feature using the link on the bottom of the page.

Geert