Book a Demo

Author Topic: Work with several project and do referencing?  (Read 7656 times)

delez

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • Happy modeling!
    • View Profile
Work with several project and do referencing?
« on: December 01, 2004, 03:06:44 am »
I'm evaluating the tool. Only one problem until now. It's when working with several project files (serveral .EAP file). That's the way we are doing in the company. One project (file) per component (developer). I'm trying to found help in the user guide or help index but didn't until today...

How can I refer from project "A" to project "ref"? I want only a link to project "ref", not a full XMI import. Also, when the "ref" project gets updated, how can I see these updates in the reference linked into project "A"? The goal is to use the "ref" project into several other project "A", "B", "C",... Each one is in a separate project file.

Is it already somehow supported in EA 4.5? If yes, which keyword should I use in the help? In the user guide?

Regards,
Christian.

thomaskilian

  • Guest
Re: Work with several project and do referencing?
« Reply #1 on: December 01, 2004, 05:26:39 am »
You could try the controlled package for your purpose. You'll find it in the context menu for packages in the browser.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #2 on: December 01, 2004, 05:31:11 am »
Hi,

your company may want to rethink the way they work :-) What's stopping you from setting up a shared repository used by each of the developers?
The federated scenario you have described will get very messy and I do not know of a tool that would elegantly support this (which I think is a good thing for variety of reasons).

Now, ability to store multiple projects within the same repository, that would be something!

Bruno

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Work with several project and do referencing?
« Reply #3 on: December 01, 2004, 11:04:38 pm »
I think Bruno is right, you might want to rethink it.
I have a number of teams working wiht EA in diferent prjects. the division of files between developers is not one per developer but one XMI file per logical package.
the division should be acording to your software design, not your development team.

Maybe you can let your team work like this and just publish an XMI with interfaces to their project.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Work with several project and do referencing?
« Reply #4 on: December 02, 2004, 02:02:25 pm »
Quote
Now, ability to store multiple projects within the same repository, that would be something!


Multiple root nodes?
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #5 on: December 02, 2004, 02:26:33 pm »
That's what we use as a workaround, it is a workable solution, but we do miss much of the security functionality we would like.

Quote

Multiple root nodes?


delez

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • Happy modeling!
    • View Profile
Re: Work with several project and do referencing?
« Reply #6 on: December 03, 2004, 02:32:04 am »
I try controlled packages. It fit my needs.
I also use multiple root nodes. It's also fine.
I add an external root node. Then in this root node, I add one controlled package per library we use. I can then reload on need each library model from the right-click menu "Package Control"->"Load package from file".

Doing this seams to add the referenced libraries project models to my EAP file. It seams that the controlled package are copied into the EAP file. This means file size increase.

Is there a way to avoid this?
How one refers to external library without copying the full library object model inside the EAP file?

Regards, Christian.

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #7 on: December 03, 2004, 04:38:27 pm »
I don't think you can reference one EAP from another.  

Just set up package control and no one can update the same package at the same time.  If you wan't better security and control, you should use the Corporate edition and a SQL database for your repository.

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #8 on: December 03, 2004, 04:42:15 pm »
Quote
That's what we use as a workaround, it is a workable solution, but we do miss much of the security functionality we would like.



My only gripe with this approach is the load time required when you open up the entire model.  I still use an EAP file on a shared drive though.  If I convert to a SQL server will it be faster or slower?  I am think of converting over to MySQL.  

thomaskilian

  • Guest
Re: Work with several project and do referencing?
« Reply #9 on: December 04, 2004, 11:47:51 am »
Likely you will have to try  :-/ The number of parameters influencing loading time are too high to give an answer  in advance.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #10 on: December 04, 2004, 03:10:28 pm »
It will likely be somewhat faster, but virtually not noticeable. The database performance has an insignificant impact on the loading time, most of it is due to the execution of the logic within EA and loading the whole model to the memory. Even a large EA project is size-wise going to be small from an RDBMS prospective.

Bruno

Quote

My only gripe with this approach is the load time required when you open up the entire model.  I still use an EAP file on a shared drive though.  If I convert to a SQL server will it be faster or slower?  I am think of converting over to MySQL.  


Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Work with several project and do referencing?
« Reply #11 on: December 05, 2004, 04:48:02 am »
working from DB sounds very interesting, but how do you save previews versions.
We user ClearCase and so we have both concurrency controll and versioning, is DB capable of it?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #12 on: December 05, 2004, 08:52:36 am »
Working from a DB is exactly the same as working from an EAP file, in fact EAP file is nothing but a small MS Access database. You can interface the EA project with a version control tool regardless of where is it stored.

Bruno

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Work with several project and do referencing?
« Reply #13 on: December 06, 2004, 02:22:44 am »
no I can't.
my DB is external to my projects (belongs to IT)...
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Work with several project and do referencing?
« Reply #14 on: December 06, 2004, 05:33:39 am »
That doesn't matter, version control does not interface with the database but with the EA application itself.
The way it works is that EA exports the controlled object into an XML file and checks the file into the version control repository.
Your DBA will never even know :-)

Bruno

Quote
no I can't.
my DB is external to my projects (belongs to IT)...