| Modisco & Papyrus don't generate UML [message #1016020] |
Mon, 04 March 2013 10:46  |
Marco Tirelli Messages: 5 Registered: February 2013 |
Junior Member |
|
|
Hi,
I have recently installed Modisco & Papyrus for create a UML diagram of my Java/Android project.
Now i right-clicked on Project & selected Discovery -> Discoveries - > Discover Java Project. This was successful & it gave me a .xmi file.
But when i right-clicked on the xmi file & selected Discovery -> Discoveries -> Generate UML model from KDM model, this don't gave me the .uml file.
Do you know what is the reason?
|
|
|
| Re: Modisco & Papyrus don't generate UML [message #1016039 is a reply to message #1016020] |
Mon, 04 March 2013 11:54   |
Hugo Bruneliere Messages: 560 Registered: July 2009 |
Senior Member |
|
|
Hello,
From what I understood, you managed to get a Java model out of your Java project using the first action you are mentioning.
Thus you first have to obtain a KDM model before being able to transform it into UML (thanks to the so-called "UML to KDM" action).
You must make a call, from your Java model, to the "Java to KDM" action.
Note that the "KDM to UML" feature may currently not work on some Java projects and corresponding models.
We are working on solving this bug and a fix will be integrated within the next MoDisco releases.
Best regards,
Hugo
------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
|
|
|
|
|
| Re: Modisco & Papyrus don't generate UML [message #1016196 is a reply to message #1016137] |
Tue, 05 March 2013 08:00   |
Hugo Bruneliere Messages: 560 Registered: July 2009 |
Senior Member |
|
|
Hello,
So it seems that, in your case, the bug I've mentioned is occurring.
We are working on in integrating the fix as soon as possible to the MoDisco releases.
In the meantime, you can get the source of the corresponding plugin and apply the provided patch manually (cf. Bug #376144).
Best regards,
Hugo
------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
|
|
|
| Re: Modisco & Papyrus don't generate UML [message #1016213 is a reply to message #1016196] |
Tue, 05 March 2013 09:13   |
Hugo Bruneliere Messages: 560 Registered: July 2009 |
Senior Member |
|
|
To be complete, the very recently released MoDisco Juno SR2 version already integrates the fix that should solve the problem in many cases.
Hugo
------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
|
|
|
|
|
| Re: Modisco & Papyrus don't generate UML [message #1064438 is a reply to message #1064347] |
Wed, 19 June 2013 05:22   |
Hugo Bruneliere Messages: 560 Registered: July 2009 |
Senior Member |
|
|
Hello,
MoDisco is generating the actual UML model (i.e. the ".uml" file when serialized).
The diagramming (displaying) part has to be produced afterwards from this model using the appropriate UML graphical tooling (manually or automatically).
If I remember well, Papyrus as a feature allowing to directly initiate such a diagram from the UML model. Then, you can use an automated layout feature to obtain something readable (and modify it if needed).
------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
|
|
|
|
| Re: Modisco & Papyrus don't generate UML [message #1064612 is a reply to message #1064543] |
Thu, 20 June 2013 04:54  |
Hugo Bruneliere Messages: 560 Registered: July 2009 |
Senior Member |
|
|
Hello,
At some point there was a feature in Papyrus allowing to automatically populate a diagram from a model, but maybe this feature has evolved.
Anyway, the process I was mentioning was just a simple way to initiate automatically an UML diagram.
The automated layout of diagrams is a very general problem (not only concerning Model Driven Reverse Engineering) and is not something that we currently intent to address in MoDisco.
I encourage you to post related questions onto the Papyrus forum for instance.
------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
|
|
|
Powered by
FUDForum. Page generated in 0.05147 seconds