Book a Demo

Author Topic: EA project versin  (Read 7714 times)

Mithal

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
EA project versin
« on: February 14, 2011, 10:03:25 pm »
Hi.

How can i get the version of the EA project, the databse file.  I don't want the version of the individual diagram or package.

I wasn to do this programatically.

Thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA project versin
« Reply #1 on: February 15, 2011, 06:33:28 pm »
Mithal,

What do you mean by "version of the EA project"?

Maybe if you explained your requirements a bit more then you could get some useful answers.

Geert

Mithal

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: EA project versin
« Reply #2 on: February 23, 2011, 07:56:27 pm »
Ok does the EA database not store some sort of version information.

Think of it in this way you have product which is version 1.0  then later you release 2.0

I want to if possible get the similar information from the EA database.

How will one know if he/she has the correct version of the EA database or the .eap file

Thanks

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA project versin
« Reply #3 on: February 23, 2011, 08:53:27 pm »
Still the question: version of what? EA? EA Database? Your project?

q.

Mithal

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: EA project versin
« Reply #4 on: February 23, 2011, 08:54:37 pm »
Sorry, the project

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA project versin
« Reply #5 on: February 23, 2011, 08:56:28 pm »
There is no such thing as your project version stored in EA. What you can do is to place a tagged value or even an object named Project Version at a well known path in your repository where you can store that string.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA project versin
« Reply #6 on: February 23, 2011, 11:07:56 pm »
There is a version attribute on the "View" level, you could use that...

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA project versin
« Reply #7 on: February 23, 2011, 11:21:03 pm »
Beware: you can have multiple views. But the root does not have have any attributes/tags :-(

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA project versin
« Reply #8 on: February 23, 2011, 11:23:32 pm »
The root does have some attributes (like notes) but you can't edit them in the GUI.

Geert