Sparx Systems Forum

Discussion => General Board => Topic started by: 10Pints on August 24, 2013, 08:43:07 pm

Title: I want to reference a class in another project
Post by: 10Pints on August 24, 2013, 08:43:07 pm
Hi - this must be possible:
I want to factor common "toolkit" functionality and share between 2 projects  so I was thinking of having a separate eap file for the toolkit project
and then referencing it from each of the application projects  that use it.

But I am struggling to find it- must be possible

any thoughts? Thanks  -Terry
Title: Re: I want to reference a class in another project
Post by: Helmut Ortmann on August 24, 2013, 10:11:19 pm
Hi Terry,

there are some solutions with pros & cons.

1. Use a DBMS and put all projects in one repository
If models/projects share information it's a hint to to put them in one repository. That's my favorite. DBMS have advantages when modeling in a team.

2. Use Configuration Management
You can share packages by Version Control. With that you can reuse packages in other projects.

3. Simply input the GUID of the element you want to reference to.
You can optimize that with an addin/script which opens the other repository.
With a GUID access to an element can be done by a little query/search.

Helmut



Title: Re: I want to reference a class in another project
Post by: Geert Bellekens on August 26, 2013, 09:49:47 pm
We have the same situation and we use option 2 to share a common framework model between different application models.

Geert