Importing html, xml, js, jsp based files into EA

461 views
Skip to first unread message

gibbswes

unread,
Oct 8, 2014, 11:16:36 AM10/8/14
to sparx-enterprise-archite...@googlegroups.com
I'm working with Enterprise Architect (EA) Version 4.01.  I've was already able to import .java based code into this version of EA without a problem.  Does EA give the option of importing existing HTML, XML, JS and\or JSP files?  

Wes

[original message]

qwerty

unread,
Oct 8, 2014, 1:15:41 PM10/8/14
to sparx-enterprise-archite...@googlegroups.com
Are you sure about the version???

q.

[original message]

gibbswes

unread,
Oct 8, 2014, 1:26:42 PM10/8/14
to sparx-enterprise-archite...@googlegroups.com
Sorry, your correct, was looking at wrong text in the "About EA" box, I'm using 11.0.1107
[original message]

qwerty

unread,
Oct 8, 2014, 2:36:22 PM10/8/14
to sparx-enterprise-archite...@googlegroups.com
So RE your OP: EA can import code, but neither HTML nor XML. What would you expect to be the outcome of such an import? JS/JSP I actually don't know  but you might give it a kick with a Java import (don't kill me if I'm absolutely wrong here since Jxxx is nothing I use on a daily basis - not even yearly ;)).

q.

[original message]

gibbswes

unread,
Oct 8, 2014, 5:16:58 PM10/8/14
to sparx-enterprise-archite...@googlegroups.com
The purpose of importing the HTML, JavaScript, CSS would be to represent these pages of our application in Sequence Diagrams for given business processes.  I did try the route of importing JSP, etc with the source code import option in EA, but it did not work, it filters on the extension of the file "*.java" so it doesn't import .jsp, .css or .js files.  We did use this import option on our Java files, worked great.  

For you and others seeing this post, only solution we found was creating a "Web Modeling View" within EA, then opening the diagram, then copying each JSP page "via copy\paste" onto the EA diagram.  You have to copy one at a time in this process.  After pasting, when prompted with the EA modal, select the option to put file in as "Artifact (Internal)".

[original message]
Reply all
Reply to author
Forward
0 new messages