Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Modisco & Papyrus don't generate UML
Modisco & Papyrus don't generate UML [message #1016020] Mon, 04 March 2013 10:46 Go to next message
Marco Tirelli is currently offline 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 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 470
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 #1016135 is a reply to message #1016039] Tue, 05 March 2013 03:10 Go to previous messageGo to next message
Marco Tirelli is currently offline Marco Tirelli
Messages: 5
Registered: February 2013
Junior Member
Yes,
I have generated the KDM file (my_program_kdm.xmi) and i've used the call "Discover UML model from KDM model..." but it don't create the corresponding UML in my project (the SERIALIZE_TARGET parameter is true).

Thank's for the answer


Re: Modisco & Papyrus don't generate UML [message #1016137 is a reply to message #1016039] Tue, 05 March 2013 03:12 Go to previous messageGo to next message
Marco Tirelli is currently offline Marco Tirelli
Messages: 5
Registered: February 2013
Junior Member
No Message Body

[Updated on: Tue, 05 March 2013 03:13]

Report message to a moderator

Re: Modisco & Papyrus don't generate UML [message #1016196 is a reply to message #1016137] Tue, 05 March 2013 08:00 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 470
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 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 470
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 #1016457 is a reply to message #1016213] Wed, 06 March 2013 09:10 Go to previous message
Marco Tirelli is currently offline Marco Tirelli
Messages: 5
Registered: February 2013
Junior Member
I have done the upload and now it works perfectly; thank you very much.

Marco
Previous Topic:How to process my KDM models
Next Topic:Small API break to be compatible with Helios
Goto Forum:
  


Current Time: Tue May 28 18:50:04 EDT 2013

Powered by FUDForum. Page generated in 1.87257 seconds