Unable to Java round-trip [message #1775978] |
Wed, 08 November 2017 13:15  |
Eclipse User |
|
|
|
I'm trying to do a round-trip with Papyrus and Java, generating Java code from UML Class Diagram model and back.
But the reverse Java code operation into existing model creates the objects in a different branch in the model tree, thus not updating the existing objects.
Basically operations are the following using default values:
1) create a new Papyrus project named Test with a Class Diagram
2) drop a new package in the diagram
3) drop a new class in the package
4) generate Java code
5) reverse engineer the just created Java class using Java Parser
The issue is that when reverse engineering the class gets back in the model with a different Qualified Name Test::Test::Package1::Class1 instead of Test::Package1::Class1.
So reverse is creating a copy of the class in the model and not updating the existing one.
Any help will be appreciated.
Thanks.
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.09006 seconds