- This topic has 3 replies, 2 voices, and was last updated 10 years, 10 months ago by support-pradeep.
-
AuthorPosts
-
David G. LibkeParticipantI am using MyEclipse Professional 2014 for my modeling, code generation, and build.
In my UML 2 model I have 4 package diagrams for which I need to generate java code. I successfully generated the java code for 2 dependent packages, the diagram class that are dependent on those 2 packages will not generate any code. The 4th package diagram generated its code has compile errors because of the missing package.
The failing package has 2 interfaces and 5 classes. They use the dependent packages as parameters to methods. The wizard comes up with all 7classes selected; I enter the target directory and click the finish button. The next generating window flashes and everything disappears.
The .log file simply has the following entry:
!ENTRY org.topcased.uml2java 1 0 2014-01-28 19:31:16.837
!MESSAGE UML2JAVA – Starting UML2JAVA Plugin…No other information is available. It is this one diagram that fails; all other diagram generate the java code.
Any help would be greatly appreciated
Dave
support-pradeepMemberDave,
We couldn’t replicate the issue at our end.
> Can you please attach the UML2 file which exhibits this issue to help us replicate the issue at our end ?
> Please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details.
David G. LibkeParticipantPradeep,
What I found is two generalization edges mysteriously got changed to an EObject and could not be deleted from the model. To resolve the problem I made a copy of the parent class with a some letters added to the name. Then, I deleted the original class from the model, which removed the offending edges. Next I removed the added letters and restored all edges. Now it was happy and generated all the classes.
Dave
support-pradeepMemberDave,
Glad that you got it working.
Let us know if you see any issues in MyEclipse. -
AuthorPosts