wood burning stoves*
The moose likes OO, Patterns, UML and Refactoring and the fly likes argoUML reverse engineer Java code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "argoUML reverse engineer Java code" Watch "argoUML reverse engineer Java code" New topic
Author

argoUML reverse engineer Java code

sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Hello:

Why 'argoUML reverse engineer Java code' doesn't work?

Thanks for any input!
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Please...
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Sarah, it would be helpful if you can elaborate your question. Or you can try out other UML tools. Here is a list of UML tool.
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
I got a package of source code. I'd like to use argoUML to generate the class diagrams. I tried to import the source code, but the diagrams can not be generated. Help please!
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Sarah, I managed to generate the class diagram for a simple program ( 4 files only) with inheritance relationship. Here is a brief instruction given by ArgoUML.

* File->Import Sources
* Change the Files of Types to "All Files"
* Select the directory (where the *.java files are stored) or packages
* A small dialog window pop up --> select OK
* On the left hand side, you will see UntitledModel. Click on the _classes, you will the class diagram
* To show the attributes/methods, point to a class, right click the mouse, select Show-->"Show All Compartment"

HTH,
Joyce
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Thank you, Joyce.

I tried, but there's only class diagram generated, there's no relationship among them. The each class is just dangling over there.

Any other good free tools?
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Originally posted by sarah Marsh:
Thank you, Joyce.

I tried, but there's only class diagram generated, there's no relationship among them. The each class is just dangling over there.

Any other good free tools?


Maybe you would like to try Jude, a free tool. It does show relationships like inheritance and association (solid line arrow) between classes. But it does not show dependency relationship ( dotted line arrow) between classes, as a result some classes may be dangling there.

Joyce
 
wood burning stoves
 
subject: argoUML reverse engineer Java code