Home Product Information Purchase Downloads News & Press Links Contact Us Forum

Problems Importing XMI models w/ Screen Architect Elements

Posted by rafaelspaiva 
Problems Importing XMI models w/ Screen Architect Elements
January 04, 2008 01:42PM
REQUESTED SYSTEM INFO
* EA Edition Professional
* EA Version 7 - 818
* Screen Architect Version 1.0 and Build Number 300.
* Operating System - Windows XP SP2
* No other Add-ins
* Working with an .EAP File
* Not using version control or user security within your EA project.

I am trying to import a model that contains Screen Architect interface diagrams into another project and I am having 3 problems:
1) The images added to the diagrams are not imported. Since I am using several graphical elements to make prototypes, when I lose the images I lose half the diagram.
2) Not sure if EA or SA problem (that's why I posted to both) but when importing the diagram while importing the interface elements I get a DAO Out of Memory Error 2004 (definitely not lack of hardware b/c the computer has 2GB RAM and I'm running only EA)
3) When I import 2 projects with interface diagrams, whenever I try to open a screen diagram EA abnormally ends.

I just bought this plugin and was really excited about using throughout my development process but this importing problem is driving me crazy. I need to consolidate these files quickly for a new project cycle and I'm stuck with these problems. Can you guys help me?

Thanks,

Rafael Paiva.
Re: Problems Importing XMI models w/ Screen Architect Elements
January 05, 2008 02:05PM
Hi, for your issue #1 I'm afraid that is a known issue with XMI export/import - when you check "Export Alternate Images" in the XMI export dialog it doesn't actually export the images themselves into the XML file.

This can be worked around currently by loading each screen in SA, making it dirty (i.e. moving a control on the screen, then moving it back) and saving it - this will cause the diagram image to regenerated - alternatively if you right click on a screen and select "Properties" (to display the EA properties dialog) then cancel out of it, this will force the screen to be saved and the diagram image to be regenerated as well - which might make the operation less tedious.

We have another release due in mid January, we will attempt to introduce a feature which allows a user to regenerate all or some of the diagrams (much like generating a prototype) so that you can do this with a couple of mouse clicks after an XMI import to get everything back in sync - alternatively we may try to make this automatic, so diagrams are automatically regenerated after new screens have been detected in the EA model - automatic detection may still cause issues if the user doing the import at the time does not have SA installed.

For issue #2 are you able to email me an example XMI file that causes this to happen, so we can reproduce the issue in our own environment - it would be much appreciated, I haven't managed to find how to reproduce this myself as yet.

Also we haven't been able to reproduce issue #3, but we have noticed that when following these steps:

* Open EA project
* Edit SA screen
* Import XMI
* Edit SA screen that's been freshly imported (from the XMI)

That the designer will display the screen, but that the project explorer is out of sync and does not display all the new screens/packages which have been imported - we will endeavor to improve the way SA detects changes in the underlying EA model, but in the mean time you can click the "refresh" button on the project explorer toolbar to requery EA for the list of packages and screens to get it back in sync.

For your #3 issue, does it still crash if you close and reopen the project in EA, or only immediately after the import has been done. Depending on the sensitivity of the information, it would be very useful to us if we could get a copy of the:

* EA Project
* Your SA log file (which can normally be found in %ProgramFiles%\ScreenArchitect Limited\ScreenArchitect\logs\log.txt)

So we can attempt to reproduce your issues in house and see if the crash is an EA or SA related issue.

Alex Henderson
Lead Developer
Screen Architect Ltd.

email: alex.henderson@screenarchitect.com
web: [www.screenarchitect.com]
Re: Problems Importing XMI models w/ Screen Architect Elements
January 20, 2008 06:53PM
Hi Rafael,

We have just released an update to Screen Architect (Build 315) which you can download, and includes a new feature which allows diagrams to be regenerated in bulk.

To regenerate diagrams you can either right click on a package or screen and select Generate->Regernate Diagrams, or access the same functionality via Project->Diagram->Regenerate Diagrams.

We'd love to have some feedback about wether this helps to resolve your issues or not.

Alex Henderson
Lead Developer
Screen Architect Ltd.

email: alex.henderson@screenarchitect.com
web: [www.screenarchitect.com]
Re: Problems Importing XMI models w/ Screen Architect Elements
April 10, 2008 04:07AM
As an additional follow up, points 1 and 3 have been resolved in the new 7.1 release of Enterprise Architect, which can now handle importing XMI where Tagged value notes fields exceed 64K in length (which was causing issues when attempting to import a previously exported package as XMI).

Alex Henderson
Lead Developer
Screen Architect Ltd.

email: alex.henderson@screenarchitect.com
web: [www.screenarchitect.com]
Sorry, only registered users may post in this forum.

Click here to login