Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: arphex on June 26, 2014, 06:31:41 pm

Title: Read EAP Files in Package
Post by: arphex on June 26, 2014, 06:31:41 pm
With Code Engineering --- >Read Source Directory i can get a Folder structure in EA.

Is it possible to read EAP-Files with "reverse Engineering"?
Because its sparx-own file Format it should not be very complicated?

best regards
Title: Re: Read EAP Files in Package
Post by: Uffe on June 26, 2014, 06:44:47 pm
The content of an .EAP file is actually a database, so you can't reverse-engineer it like you would source code.

You can reverse-engineer databases (including EA's own) into EA with the Import DB Schema function, but you'll only get the structure this way -- not the contents.
Title: Re: Read EAP Files in Package
Post by: qwerty on June 26, 2014, 07:44:56 pm
What would you expect to get from the reverse engineering?

q.
Title: Re: Read EAP Files in Package
Post by: arphex on June 26, 2014, 08:17:57 pm
I have some DBMS repositories, but in some cases we have a Folder structure with EAP Files.

I wanted to read the Folder structure and set on "Filetype" .eap.
So EA would recognize the eap and Show it for each Folder.

Title: Re: Read EAP Files in Package
Post by: Uffe on June 26, 2014, 08:45:19 pm
You can create a hyperlink of type File - Open (from the Common toolbox in any diagram) and specify the EAP file there. Double-clicking the hyperlink will then open the project.
Title: Re: Read EAP Files in Package
Post by: qwerty on June 27, 2014, 05:02:18 am
Alternatively you can create Artifact elements and use the File tab to point to your real file.

q.
Title: Re: Read EAP Files in Package
Post by: arphex on June 27, 2014, 03:12:50 pm
good morning
Thank you for your replies, i will check the possibilities.

best regards
Title: Re: Read EAP Files in Package
Post by: Mauricio Moya (Arquesoft) on July 16, 2014, 02:38:17 am
You can create a script that read the folder structure and create the suitable packages within de EA model.