Author Topic: Merging multiple eap projects.  (Read 680 times)

Rob-abb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Merging multiple eap projects.
« on: September 16, 2011, 08:40:48 pm »
Hi,

I’d like to merge several ‘eap’ models created by different developers into one overall ‘eap’ model without using XMI export functionality or replication.  I presumed that this would have been rather trivial; however, there appears to be no obvious way of performing this action.  

Have I missed something blindingly obvious here? :o

qwerty

  • EA Guru
  • *****
  • Posts: 9021
  • Karma: +137/-126
  • I'm no guru at all
    • View Profile
Re: Merging multiple eap projects.
« Reply #1 on: September 17, 2011, 01:14:10 am »
You've missed that xmi is THE way to exchange(/merge) data.

q.

Paul Lotz

  • EA User
  • **
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Merging multiple eap projects.
« Reply #2 on: September 17, 2011, 02:46:35 am »
If the new larger model is an assembly of packages from a number of smaller models, and all the packages are under version control, you can just use the Package Control...Get Package pop-up menu item in the new project.  (This approach of course uses XMI files.)  This is simple and the best way to reuse packages, I think.

Rob-abb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Merging multiple eap projects.
« Reply #3 on: September 19, 2011, 08:47:42 pm »
Hi, Thanks a million from Ireland, much appreciated.  I have used the XMI approach previously using enterprise architect but was slightly surprised that you couldn’t quickly combine ‘eap’ files.

Regards

R.

OpenIT Solutions

  • EA User
  • **
  • Posts: 458
  • Karma: +4/-0
    • View Profile
Re: Merging multiple eap projects.
« Reply #4 on: September 19, 2011, 09:29:51 pm »
See Tools -> Data Management -> Project Trasfer...

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7812
  • Karma: +171/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Merging multiple eap projects.
« Reply #5 on: September 19, 2011, 09:41:41 pm »
Quote
See Tools -> Data Management -> Project Trasfer...
Project transfer works only to transfer a complete project, not to combine multiple projects. In fact it will destroy the target model before starting the transfer process.

Geert

Luis J. Lobo

  • EA User
  • **
  • Posts: 248
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Merging multiple eap projects.
« Reply #6 on: September 23, 2011, 01:26:54 am »
You are talking about not to use XMI for the models merge.

Have you consider or do you know the baseline compare & merge functionality?

Try to:

1. In EAP1, create a Baseline of the Root Node
2. In EAP2, compare the Root Node vs the Baseline of EAP1 with the compare utility
3. Merge automatically (if possible) or manually the Baseline into the EAP2

Regards,

T Kouno

  • EA User
  • **
  • Posts: 317
  • Karma: +2/-0
    • View Profile
Re: Merging multiple eap projects.
« Reply #7 on: September 23, 2011, 09:32:28 am »
The following steps may help you...

1. run 2 EA.exe and open each EAP file
2. in the Project Browser of source EAP, select package and press Ctrl+C
3. in the Project Browser of target EAP, select package and press Ctrl+V

--
t-kouno

qwerty

  • EA Guru
  • *****
  • Posts: 9021
  • Karma: +137/-126
  • I'm no guru at all
    • View Profile
Re: Merging multiple eap projects.
« Reply #8 on: September 23, 2011, 10:14:53 pm »
Quote
You are talking about not to use XMI for the models merge.

Have you consider or do you know the baseline compare & merge functionality?
...
Regards,

Thanks for that hint. It seemed to work on a simple merge manually. But have you or anyone else ever tried to do that via automation? When I call DoBaselineMerge I only get two times a DAO error message 3035 (System Resource Exceeded) and a result string "No Differences Detected" (which is definitely wrong).

q.

Rob-abb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Merging multiple eap projects.
« Reply #9 on: September 26, 2011, 07:50:40 pm »
Quote
The following steps may help you...

1. run 2 EA.exe and open each EAP file
2. in the Project Browser of source EAP, select package and press Ctrl+C
3. in the Project Browser of target EAP, select package and press Ctrl+V


Thanks.

RazvanR

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Merging multiple eap projects.
« Reply #10 on: October 04, 2011, 02:24:46 am »
Am I missing anything?!? Why is nobody talking about EA's replication functionality?

I imagine you can create a Master Design file, create Replicas, copy  the individual EAPs into those replicas, and , finally, synch those replicas back into the Master.
... just a 2 cents idea.

More info about Replication:
Usage: Tools (menu)\Data Management\Manage .EAP file...
- Make Design Master
- Create New Replica
- Synchronize Replicas

Documentation: http://www.sparxsystems.com/enterprise_architect_user_guide/9.0/projects_and_teams/replication.html

Cheers,
Razvan:-)
« Last Edit: October 04, 2011, 02:28:48 am by razvanr »
Razvan:-)

qwerty

  • EA Guru
  • *****
  • Posts: 9021
  • Karma: +137/-126
  • I'm no guru at all
    • View Profile
Re: Merging multiple eap projects.
« Reply #11 on: October 05, 2011, 06:27:14 am »
EA's replication facility is simply that of M$Access. I would not trust that farther I can throw it. You might have success in little teams and little projects but then what for would you use replication? Just for having tedious merges?

q.