Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Import and Export from/to Enterprise Architect?
Import and Export from/to Enterprise Architect? [message #474933] Thu, 24 July 2008 15:48 Go to next message
Volker Wegert is currently offline Volker Wegert
Messages: 169
Registered: July 2009
Senior Member
Hello everyone,

I'd like to apologize for the cross post first - I'm not sure where this
question should be discussed.

I'd like to export some parts of a model from Enterprise Architect, load
them using UML2, perform some changes and then re-import them into EA. I
already know http://uml2ea.blogspot.com/, but from besides this being an
unidirectional export, it seems to alter the structure and remove the
GUIDs that EA relies upon for importing. On the other hand, EA offers
quite a lot of combinations that can be used when exporting and
importing XMI files, and I'm getting various errors when importing these
files - mostly some unresolved references.

Has anyone around here already tried this and maybe even got this
working?

Thanks in advance
Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
The computer revolution is over. The computers won.
Re: Import and Export from/to Enterprise Architect? [message #475268 is a reply to message #474933] Mon, 28 July 2008 10:25 Go to previous messageGo to next message
Dave Carlson is currently offline Dave Carlson
Messages: 399
Registered: July 2009
Senior Member
Volker,

I did some testing a few months ago with XMI exported from EA (latest
release at that time). Unfortunately, their XMI export had many bugs and
fundamental errors in XMI/UML representation, so I had to give up until they
improv their compliance with the XMI and UML metamodel specs.

You must use the XMI 2.1, UML 2.1 options exporting from EA, as these are
the versions used by UML2.

Regards,
Dave Carlson

"Volker Wegert" <mail@volker-wegert.de> wrote in message
news:m2zlo7awro.fsf@gideon.home.volker-wegert.de...
> Hello everyone,
>
> I'd like to apologize for the cross post first - I'm not sure where this
> question should be discussed.
>
> I'd like to export some parts of a model from Enterprise Architect, load
> them using UML2, perform some changes and then re-import them into EA. I
> already know http://uml2ea.blogspot.com/, but from besides this being an
> unidirectional export, it seems to alter the structure and remove the
> GUIDs that EA relies upon for importing. On the other hand, EA offers
> quite a lot of combinations that can be used when exporting and
> importing XMI files, and I'm getting various errors when importing these
> files - mostly some unresolved references.
>
> Has anyone around here already tried this and maybe even got this
> working?
>
> Thanks in advance
> Volker
>
> --
> * Volker Wegert * http://www.volker-wegert.de/contact *
> The computer revolution is over. The computers won.
Re: Import and Export from/to Enterprise Architect? [message #475269 is a reply to message #475268] Tue, 29 July 2008 07:45 Go to previous messageGo to next message
Freddy Allilaire is currently offline Freddy Allilaire
Messages: 130
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030606080709040506040208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Volker,

XMI export of EA has many problems as Dave said.
You could be interested by an Acceleo feature called "Non-Eclipse
Modelers Compatibility". In this feature, there is a converter from "EA
7.1 UML 2.1" xmi export to Eclipse/UML2 xmi.

If you're interested you could take a look in "Enterprise Architect 7.1
Compatibility" section of this page
http://www.acceleo.org/pages/new-and-noteworthy-acceleo-2-3- 0/en

HTH

Regards,
Freddy.

Dave Carlson a
Re: Import and Export from/to Enterprise Architect? [message #475271 is a reply to message #475269] Wed, 30 July 2008 16:06 Go to previous messageGo to next message
Volker Wegert is currently offline Volker Wegert
Messages: 169
Registered: July 2009
Senior Member
Hi.

Thanks for the replies. Tons of error messages was what I got, too, but
I was unsure whether that was caused by me using the wrong options.

Freddy Allilaire <freddy.allilaire@obeo.fr> writes:
> You could be interested by an Acceleo feature called "Non-Eclipse Modelers
> Compatibility". In this feature, there is a converter from "EA 7.1 UML 2.1"
> xmi export to Eclipse/UML2 xmi.

From what I can see in the docs, this is a one-way ticket - right? In
this case, it doesn't help me because I need to make some changed to the
model and then reimport it into EA. I need to keep the structure and the
UIDs unchanged because otherwise EA will generate new elements instead
of changing the existing ones...

Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
"What're quantum mechanics?" - "I don't know. People who repair quantums, I
suppose." (Terry Pratchett, Eric)
Re: Import and Export from/to Enterprise Architect? [message #475272 is a reply to message #474933] Wed, 30 July 2008 17:52 Go to previous messageGo to next message
Eclipse User
Originally posted by: jlansing.spawar.navy.mil

Volker,
I have tried something like this and got it working. In my case I do it as a
standalone app.
I use the components4oaw ea_uml2exporter for the direction ea -> uml2. This
is cumbersome and requires some oaw libs.
It uses the ea Java api to talk to ea.
I use the same api to go the other way. The GUIDS are not necessary, only
data values, and some way to link things together for generalizations,
associations, etc.
Jeff

"Volker Wegert" <mail@volker-wegert.de> wrote in message
news:m2zlo7awro.fsf@gideon.home.volker-wegert.de...
> Hello everyone,
>
> I'd like to apologize for the cross post first - I'm not sure where this
> question should be discussed.
>
> I'd like to export some parts of a model from Enterprise Architect, load
> them using UML2, perform some changes and then re-import them into EA. I
> already know http://uml2ea.blogspot.com/, but from besides this being an
> unidirectional export, it seems to alter the structure and remove the
> GUIDs that EA relies upon for importing. On the other hand, EA offers
> quite a lot of combinations that can be used when exporting and
> importing XMI files, and I'm getting various errors when importing these
> files - mostly some unresolved references.
>
> Has anyone around here already tried this and maybe even got this
> working?
>
> Thanks in advance
> Volker
>
> --
> * Volker Wegert * http://www.volker-wegert.de/contact *
> The computer revolution is over. The computers won.
Re: Import and Export from/to Enterprise Architect? [message #475273 is a reply to message #475271] Thu, 31 July 2008 10:14 Go to previous messageGo to next message
Freddy Allilaire is currently offline Freddy Allilaire
Messages: 130
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010507050600030301070102
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Yes, this feature is a one-way ticket. You will need to import your
modified model in EA. And I don't know if the EA import works better
than the EA export ;-)

Regards,
Freddy.

Volker Wegert a
Re: Import and Export from/to Enterprise Architect? [message #475276 is a reply to message #475269] Tue, 05 August 2008 05:52 Go to previous message
Adam Flinton is currently offline Adam Flinton
Messages: 32
Registered: July 2009
Member
Freddy Allilaire wrote:
> Hi Volker,
>
> XMI export of EA has many problems as Dave said.
> You could be interested by an Acceleo feature called "Non-Eclipse
> Modelers Compatibility". In this feature, there is a converter from "EA
> 7.1 UML 2.1" xmi export to Eclipse/UML2 xmi.
>
> If you're interested you could take a look in "Enterprise Architect 7.1
> Compatibility" section of this page
> http://www.acceleo.org/pages/new-and-noteworthy-acceleo-2-3- 0/en
>

Just out of interest....as I looked at EA > Eclipse & then put it on ice
a while back....

Has any solution been found wrt exporting model documentation from EA
(preferably into CDATA'ed XHTML in the XMI).

When I last looked EA used it's own very special version of RTF which it
then put into the XMI as a blob.

Adam
Re: Import and Export from/to Enterprise Architect? [message #621780 is a reply to message #474933] Mon, 28 July 2008 10:25 Go to previous message
Dave Carlson is currently offline Dave Carlson
Messages: 399
Registered: July 2009
Senior Member
Volker,

I did some testing a few months ago with XMI exported from EA (latest
release at that time). Unfortunately, their XMI export had many bugs and
fundamental errors in XMI/UML representation, so I had to give up until they
improv their compliance with the XMI and UML metamodel specs.

You must use the XMI 2.1, UML 2.1 options exporting from EA, as these are
the versions used by UML2.

Regards,
Dave Carlson

"Volker Wegert" <mail@volker-wegert.de> wrote in message
news:m2zlo7awro.fsf@gideon.home.volker-wegert.de...
> Hello everyone,
>
> I'd like to apologize for the cross post first - I'm not sure where this
> question should be discussed.
>
> I'd like to export some parts of a model from Enterprise Architect, load
> them using UML2, perform some changes and then re-import them into EA. I
> already know http://uml2ea.blogspot.com/, but from besides this being an
> unidirectional export, it seems to alter the structure and remove the
> GUIDs that EA relies upon for importing. On the other hand, EA offers
> quite a lot of combinations that can be used when exporting and
> importing XMI files, and I'm getting various errors when importing these
> files - mostly some unresolved references.
>
> Has anyone around here already tried this and maybe even got this
> working?
>
> Thanks in advance
> Volker
>
> --
> * Volker Wegert * http://www.volker-wegert.de/contact *
> The computer revolution is over. The computers won.
Re: Import and Export from/to Enterprise Architect? [message #621781 is a reply to message #475268] Tue, 29 July 2008 07:45 Go to previous message
Freddy Allilaire is currently offline Freddy Allilaire
Messages: 130
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030606080709040506040208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Volker,

XMI export of EA has many problems as Dave said.
You could be interested by an Acceleo feature called "Non-Eclipse
Modelers Compatibility". In this feature, there is a converter from "EA
7.1 UML 2.1" xmi export to Eclipse/UML2 xmi.

If you're interested you could take a look in "Enterprise Architect 7.1
Compatibility" section of this page
http://www.acceleo.org/pages/new-and-noteworthy-acceleo-2-3- 0/en

HTH

Regards,
Freddy.

Dave Carlson a
Re: Import and Export from/to Enterprise Architect? [message #621783 is a reply to message #475269] Wed, 30 July 2008 16:06 Go to previous message
Volker Wegert is currently offline Volker Wegert
Messages: 169
Registered: July 2009
Senior Member
Hi.

Thanks for the replies. Tons of error messages was what I got, too, but
I was unsure whether that was caused by me using the wrong options.

Freddy Allilaire <freddy.allilaire@obeo.fr> writes:
> You could be interested by an Acceleo feature called "Non-Eclipse Modelers
> Compatibility". In this feature, there is a converter from "EA 7.1 UML 2.1"
> xmi export to Eclipse/UML2 xmi.

From what I can see in the docs, this is a one-way ticket - right? In
this case, it doesn't help me because I need to make some changed to the
model and then reimport it into EA. I need to keep the structure and the
UIDs unchanged because otherwise EA will generate new elements instead
of changing the existing ones...

Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
"What're quantum mechanics?" - "I don't know. People who repair quantums, I
suppose." (Terry Pratchett, Eric)
Re: Import and Export from/to Enterprise Architect? [message #621784 is a reply to message #474933] Wed, 30 July 2008 17:52 Go to previous message
Eclipse User
Originally posted by: jlansing.spawar.navy.mil

Volker,
I have tried something like this and got it working. In my case I do it as a
standalone app.
I use the components4oaw ea_uml2exporter for the direction ea -> uml2. This
is cumbersome and requires some oaw libs.
It uses the ea Java api to talk to ea.
I use the same api to go the other way. The GUIDS are not necessary, only
data values, and some way to link things together for generalizations,
associations, etc.
Jeff

"Volker Wegert" <mail@volker-wegert.de> wrote in message
news:m2zlo7awro.fsf@gideon.home.volker-wegert.de...
> Hello everyone,
>
> I'd like to apologize for the cross post first - I'm not sure where this
> question should be discussed.
>
> I'd like to export some parts of a model from Enterprise Architect, load
> them using UML2, perform some changes and then re-import them into EA. I
> already know http://uml2ea.blogspot.com/, but from besides this being an
> unidirectional export, it seems to alter the structure and remove the
> GUIDs that EA relies upon for importing. On the other hand, EA offers
> quite a lot of combinations that can be used when exporting and
> importing XMI files, and I'm getting various errors when importing these
> files - mostly some unresolved references.
>
> Has anyone around here already tried this and maybe even got this
> working?
>
> Thanks in advance
> Volker
>
> --
> * Volker Wegert * http://www.volker-wegert.de/contact *
> The computer revolution is over. The computers won.
Re: Import and Export from/to Enterprise Architect? [message #621785 is a reply to message #475271] Thu, 31 July 2008 10:14 Go to previous message
Freddy Allilaire is currently offline Freddy Allilaire
Messages: 130
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010507050600030301070102
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Yes, this feature is a one-way ticket. You will need to import your
modified model in EA. And I don't know if the EA import works better
than the EA export ;-)

Regards,
Freddy.

Volker Wegert a
Re: Import and Export from/to Enterprise Architect? [message #621788 is a reply to message #475269] Tue, 05 August 2008 05:52 Go to previous message
Adam Flinton is currently offline Adam Flinton
Messages: 32
Registered: July 2009
Member
Freddy Allilaire wrote:
> Hi Volker,
>
> XMI export of EA has many problems as Dave said.
> You could be interested by an Acceleo feature called "Non-Eclipse
> Modelers Compatibility". In this feature, there is a converter from "EA
> 7.1 UML 2.1" xmi export to Eclipse/UML2 xmi.
>
> If you're interested you could take a look in "Enterprise Architect 7.1
> Compatibility" section of this page
> http://www.acceleo.org/pages/new-and-noteworthy-acceleo-2-3- 0/en
>

Just out of interest....as I looked at EA > Eclipse & then put it on ice
a while back....

Has any solution been found wrt exporting model documentation from EA
(preferably into CDATA'ed XHTML in the XMI).

When I last looked EA used it's own very special version of RTF which it
then put into the XMI as a blob.

Adam
Previous Topic:Profiles and stereotype properties
Next Topic:Properties for applied stereotypes
Goto Forum:
  


Current Time: Thu Jul 24 11:31:50 EDT 2014

Powered by FUDForum. Page generated in 0.12405 seconds