Book a Demo

Author Topic: Merging projects or moving diagrams  (Read 5000 times)

pixelpshr

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Merging projects or moving diagrams
« on: October 17, 2015, 02:26:38 am »
I have two separate Sparx EA projects that now need to be combined, or at least I need to copy some of the packages and diagrams from one project to another. Is there something in EA that will help me do this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Merging projects or moving diagrams
« Reply #1 on: October 17, 2015, 02:41:32 am »
You will need to move things into packages (all you want to be exported that is in diagrams) if you have things scattered around. If you have a clear package structure already just export that via XMI and import it in the other model.

q.

pixelpshr

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Merging projects or moving diagrams
« Reply #2 on: October 17, 2015, 03:39:14 am »
Thanks! I will try that.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Merging projects or moving diagrams
« Reply #3 on: October 17, 2015, 03:43:07 am »
You can also do a Right Click|Copy / Paste|Copy from the project browser and Right Click|Copy / Paste|Paste. This even works between models, and is often faster then xmi export/import.

But the comment about the package structure remains the same.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Merging projects or moving diagrams
« Reply #4 on: October 17, 2015, 04:12:13 am »
Ah sure. This works with V12 (it's a newer feature and IIRC not available before).

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: Merging projects or moving diagrams
« Reply #5 on: October 17, 2015, 05:31:14 am »
Quote
Ah sure. This works with V12 (it's a newer feature and IIRC not available before).

q.
I think it has been introduced in v10 or something.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Merging projects or moving diagrams
« Reply #6 on: October 19, 2015, 08:22:25 am »
Quote
... is often faster then xmi export/import.
It can't be faster. Behind the scenes that's exactly what's happening.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Merging projects or moving diagrams
« Reply #7 on: October 19, 2015, 08:35:27 am »
In terms of keyboard/mouse work it [highlight]is[/highlight] faster  ;)

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Merging projects or moving diagrams
« Reply #8 on: October 19, 2015, 10:59:31 am »
Quote
Quote
... is often faster then xmi export/import.
It can't be faster. Behind the scenes that's exactly what's happening.
Is this XMI on a per-item (rather than per-package) basis?

If so, it ALWAYS strips GUIDs doesn't it?

Paolo
« Last Edit: October 19, 2015, 05:27:25 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

VKN

  • EA User
  • **
  • Posts: 187
  • Karma: +9/-1
    • View Profile
Re: Merging projects or moving diagrams
« Reply #9 on: October 19, 2015, 11:21:25 am »
Quote
Is this XMI on a per-per item (rather than per-package) basis?

If so, it ALWAYS strips GUIDs doesn't it?

Paolo
Yes

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Merging projects or moving diagrams
« Reply #10 on: October 19, 2015, 05:31:36 pm »
Quote
Quote
Is this XMI on a per-item (rather than per-package) basis?

If so, it ALWAYS strips GUIDs doesn't it?

Paolo
Yes
So it would be interesting to add the functionality to inhibit strip GUIDs and have the new items replace the originals (if they had the same GUID) - from different repositories.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!