Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: f on March 28, 2019, 10:27:39 pm

Title: How to use relative pathes for parsing (Code-->File-->Import Source Directory)?
Post by: f on March 28, 2019, 10:27:39 pm
We are trying to use an .eapx file in a team.
Now I have parsed the C++ sources with Code-->File-->Import Source Directory and use my local path (C:\Users\f\mysourcecode).

Now another team member opens the .eapx file and wants to parse the sources again (because he added a new class to the sources). He does Code-->File-->Import Source Directory and uses his local path (C:\Users\x\mysourcecode).

Now after he parsed we have all classes doubled.
The problem is the absolute path which is different, and so Enterprise Architect sees them as different classes.

How can I set the parser to use a relative path to prevent such problems?
Title: Re: How to use relative pathes for parsing (Code-->File-->Import Source Directory)?
Post by: Geert Bellekens on March 28, 2019, 11:06:36 pm
See https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/localpathdlg.html (https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/localpathdlg.html)

Geert
Title: Re: How to use relative pathes for parsing (Code-->File-->Import Source Directory)?
Post by: f on March 29, 2019, 01:11:15 am
See https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/localpathdlg.html (https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/localpathdlg.html)

Geert

Thanks a lot, Geert, your answers are really helpful!