Hi there,
I still try to understand what's going on with my ARIS UML Models...
I can confirm your observation, Wouter: Opening the ARIS UML Model with
MagicDraw shows the ActivityGraph with the Name "Untitled". Giving the
right name and saving the model seems to solve the problem, as you said.
The problem is that in the original ARIS model the ActivityGraph has a
name:
Extract of the original ARIS UML Designer XMI-File:
[...]
<UML:ActivityGraph name="TicketreservationGraph" xmi.id
="ID.il----4-----p--" xmi.uuid="ID.cedaed90-995e-11d9-1068-00e000f95533"
isSpecification="false" namespace="ID.dz----4-----p--">
<UML:StateMachine.context>
<UML:ModelElement xmi.idref="ID.gf----4-----p--"/>
</UML:StateMachine.context>
<UML:StateMachine.top>
<UML:CompositeState name="TicketreservationGraphTopState"
xmi.id="ID.is----4-----p--" xmi.uuid
="ID.cedc7431-995e-11d9-1068-00e000f95533" isConcurrent="false">
<UML:CompositeState.subvertex>
[...]
Extract after opening and saving with MagicDraw:
[...]
<UML:ActivityGraph xmi.id='ID.il----4-----p--' name='Untitled'>
<XMI.extension xmi.extender='MagicDraw UML 9.0' xmi.extenderID
='MagicDraw UML 9.0'>
<mainDiagram xmi.idref='
_9_0_2_2a5014a_1112181012692_763463_1'/>
</XMI.extension>
<UML:StateMachine.context>
<UML:ModelElement xmi.idref='ID.gf----4-----p--'/>
</UML:StateMachine.context>
<UML:StateMachine.top>
<UML:CompositeState xmi.id='ID.is----4-----p--' name
='TicketreservationGraph'>
[...]
Just to be sure, I opend the ARIS XMI File with Mia-Generator, where you
can browse XMI-Files, and there the Name of the ActivityGraph is show.
Even AndroMDA must read the name as you can see in the Validation Error
Message:
[andromda] ERROR [AndroMDA:VALIDATION:ERROR] 1)
[Bpm4Struts::andropalace::presentation::tickets::TicketreservationGraph]:An
activity graph must have a controller class context to which (optionally)
operations can be deferred. Make sure this graph's use-case has the
<<FrontEndUseCase>> stereotype.
[andromda] ERROR [AndroMDA:VALIDATION:ERROR] 2)
[Bpm4Struts::andropalace::presentation::tickets::TicketreservationGraph::enter
criteria]:Each name of a JSP action state must be unique in the namespace
of a use-case.
[andromda] ERROR [AndroMDA:VALIDATION:ERROR] 3)
[Bpm4Struts::andropalace::presentation::tickets::TicketreservationGraph::select
show]:Each name of a JSP action state must be unique in the namespace of a
use-case.
[andromda] INFO [AndroMDA] completed model processing --> TIME:
21.241[s], RESOURCES WRITTEN: 55 - 3 VALIDATION ERROR(S)
The messages all reference
"Bpm4Struts::andropalace::presentation::tickets::TicketreservationGraph".
So maybe the name isn't the real problem, but something different is wrong
with the ARIS XMI file?
Is there any way to get more debug infos on what's going on there? E.g.
theres a file mdr.log, but this is empty. Any advices on how to locate the
problem?
Regards
Stefan
|--------+-------------------------->
| | "Wouter Zoons" |
| | <[EMAIL PROTECTED]|
| | ditel.net> |
| | |
| | 24.03.2005 10:25|
| | Bitte antworten |
| | an wouter.zoons |
| | |
|--------+-------------------------->
>------------------------------------------------------------------------------------------------------------------------|
|
|
| An: <[EMAIL PROTECTED]>
|
| Kopie: <[email protected]>
|
| Thema: RE: Antwort: RE: AndroMDA and ARIS: UML Model
|
>------------------------------------------------------------------------------------------------------------------------|
FYI, when I opened your model using MagicDraw I saw that the activity graph
was named 'untitled' and the top level composite state had a name, usually
that composite state has no name, in MagicDraw it just shows as: < >
This is weird eh
-- Wouter
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 8:38 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Antwort: RE: AndroMDA and ARIS: UML Model
Hello Wouter,
this is strange, because in the ARIS XMI Export the name of the activity
graph is set (as well as the name of the top state):
[...]
<UML:ActivityGraph name="TicketreservationGraph" xmi.id
="ID.il----4-----p--" xmi.uuid="ID.cedaed90-995e-11d9-1068-00e000f95533"
isSpecification="false" namespace="ID.dz----4-----p--">
<UML:StateMachine.context>
<UML:ModelElement xmi.idref="ID.gf----4-----p--"/>
</UML:StateMachine.context>
<UML:StateMachine.top>
<UML:CompositeState name="TicketreservationGraph" xmi.id
="ID.is----4-----p--" xmi.uuid="ID.cedc7431-995e-11d9-1068-00e000f95533"
isConcurrent="false">
<UML:CompositeState.subvertex>
[...]
This evenig I will open and save the model with magic draw and compare the
two files. Probably I will get a clue on what's going on here...
Regards
Stefan
P.S.: Do you now any good NetBeans MDR Browser. I mean a tool that can read
in XMI files and the provides a grahical browser to inspect the content of
the model as it is seen by MDR...
"Wouter Zoons" <[EMAIL PROTECTED]>
24.03.2005 00:36
Bitte antworten an wouter.zoons
An: <[EMAIL PROTECTED]>
Kopie: <[email protected]>
Blindkopie:
Thema: RE: AndroMDA and ARIS: UML Model
Stefan, I found the problem ..
According to MagicDraw (I don't have ARIS UML modeler here) the activity
graph has no name, instead you named the top-level composite state
So what I had to do was name the graph and update the tagged value on the
use-case and it worked (before I was getting the same errors you reported)
I hope you can set the name of the graph with your UML tool, otherwise I
will implement a solution, keep me posted
-- Wouter
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> consulting.de]
> Sent: Wednesday, March 23, 2005 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: AndroMDA and ARIS: UML Model
>
> Now the model...
>
> Stefan
>
> (See attached file: andropalace.xml)
=
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user