Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Resistance on November 24, 2018, 05:07:27 pm

Title: Code importing exception
Post by: Resistance on November 24, 2018, 05:07:27 pm
Is there any possibility to except some specific sub folders and files in importing source code procedure?
I am importing my C++ code but don't want to import some files and sub directories, so how can I except them?
Title: Re: Code importing exception
Post by: qwerty on November 24, 2018, 07:27:11 pm
You delete them after the import.

q.
Title: Re: Code importing exception
Post by: Resistance on November 24, 2018, 10:43:38 pm
And my question is about before the import...
Title: Re: Code importing exception
Post by: qwerty on November 25, 2018, 12:14:38 am
And my answer is how you do it with EA.

q.
Title: Re: Code importing exception
Post by: eberline on July 13, 2019, 05:46:01 am
You delete them after the import.

Parse a ton of unwanted elements and resolve all their relationships, only to immediately delete them?
On a large model, it's much faster to temporarily move folders outside the source tree.
For individual header files, temporarily rename with a non-C++ filename extension, e.g. *.h_exclude.

(I note in another thread (https://www.sparxsystems.com/forums/smf/index.php/topic,42975.0.html), this doesn't work well for incremental imports.)
Title: Re: Code importing exception
Post by: qwerty on July 13, 2019, 06:37:34 pm
Well, you're talking about a feature request. Just send one and hope for the best.

q.