Reverse Engineer UML Diagrams From Source Code  
Author Message
cppaddict





PostPosted: 2004-9-4 14:13:00 Top

java-programmer, Reverse Engineer UML Diagrams From Source Code I'm looking for a good tool that can automatically generatre UML
diagrams from source code.

I know Together can do this, but it's rather expensive....

I was hoping for something open source. What are my options? What
should I be considering? I plan to use it mainly for personal use for
building medium sized applciations.

I also found this one:

http://jrefactory.sourceforge.net/

Has anyone used it?

TIA,
cpp
 
Filip Larsen





PostPosted: 2004-9-4 19:05:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code "cppaddict" wrote

> I'm looking for a good tool that can automatically generatre UML
> diagrams from source code.

Take a look at http://argouml.tigris.org/.


Regards,
--
Filip Larsen


 
cppaddict





PostPosted: 2004-9-4 19:11:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code
>
>Take a look at http://argouml.tigris.org/.
>

I actually already have argo... I didn't know it could reverse
engineer from source. I couldn't find anything about that on the
website... Do you have a link to the appropriate docs?

thanks
cpp

 
 
Filip Larsen





PostPosted: 2004-9-4 22:20:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code "cppaddict" wrote

> I actually already have argo... I didn't know it could reverse
> engineer from source. I couldn't find anything about that on the
> website... Do you have a link to the appropriate docs?

I haven't used the feature much (lately), but I think you just invoke
File -> Import and select some java source files. The manual describe
that in
http://argouml.tigris.org/documentation/defaulthtml/manual/ch09s03.html#s3.ref.menu_import_sources.


Regards,
--
Filip Larsen


 
 
steve





PostPosted: 2004-9-6 5:58:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code On Sat, 4 Sep 2004 22:20:08 +0800, Filip Larsen wrote
(in article <chcj3o$2l8j$email***@***.com>):

> "cppaddict" wrote
>
>> I actually already have argo... I didn't know it could reverse
>> engineer from source. I couldn't find anything about that on the
>> website... Do you have a link to the appropriate docs?
>
> I haven't used the feature much (lately), but I think you just invoke
> File -> Import and select some java source files. The manual describe
> that in
>
http://argouml.tigris.org/documentation/defaulthtml/manual/ch09s03.html#s3.ref

> .menu_import_sources.
>
>
> Regards,
>

yes it certainly imports the stuff, but it does not make any class diagrams
from it..
it appears you have to hand link it.


 
 
asaguden





PostPosted: 2004-9-6 15:02:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code > I'm looking for a good tool that can automatically generatre UML
> diagrams from source code.
> I know Together can do this, but it's rather expensive....
> I was hoping for something open source. What are my options? What
> should I be considering? I plan to use it mainly for personal use for
> building medium sized applciations.
> I also found this one:
> http://jrefactory.sourceforge.net/
> Has anyone used it?
--------------------------------------------
www.bluej.org
absolutely free

/asaguden
 
 
Filip Larsen





PostPosted: 2004-9-6 20:50:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code Regarding ArgoUML I wrote

> > I haven't used the feature much (lately), but I think you just
invoke
> > File -> Import and select some java source files.

and steve answered

> yes it certainly imports the stuff, but it does not make any class
diagrams
> from it..

Well, in my end it works. When doing import ArgoUML will generate one
class diagram for each package and place that diagram in the package.
The content will vary according to the options selected in the import
dialog.


Regards,
--
Filip Larsen


 
 
steve





PostPosted: 2004-9-7 5:58:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code On Mon, 6 Sep 2004 20:49:56 +0800, Filip Larsen wrote
(in article <chhmik$2nc4$email***@***.com>):

> Regarding ArgoUML I wrote
>
>>> I haven't used the feature much (lately), but I think you just
> invoke
>>> File -> Import and select some java source files.
>
> and steve answered
>
>> yes it certainly imports the stuff, but it does not make any class
> diagrams
>> from it..
>
> Well, in my end it works. When doing import ArgoUML will generate one
> class diagram for each package and place that diagram in the package.
> The content will vary according to the options selected in the import
> dialog.
>
>
> Regards,
>

tried it several times, with all options selected.
i just get 1 box in the middle of the screen, no arrows connecting anything,
nothing like the picture on their website.

I suppose if i started from scratch , it would be o.k ,but this project is
over 1 yer old and has rather a lot of code.

steve


 
 
steve





PostPosted: 2004-9-7 6:03:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code On Mon, 6 Sep 2004 15:01:59 +0800, asaguden wrote
(in article <email***@***.com>):

>> I'm looking for a good tool that can automatically generatre UML
>> diagrams from source code.
>> I know Together can do this, but it's rather expensive....
>> I was hoping for something open source. What are my options? What
>> should I be considering? I plan to use it mainly for personal use for
>> building medium sized applciations.
>> I also found this one:
>> http://jrefactory.sourceforge.net/
>> Has anyone used it?
> --------------------------------------------
> www.bluej.org
> absolutely free
>
> /asaguden

this is a teaching tool, and yet ANOTHER system fore storing source code.

steve


 
 
Filip Larsen





PostPosted: 2004-9-8 1:07:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code "steve" wrote

> tried it several times, with all options selected.
> i just get 1 box in the middle of the screen, no arrows connecting
anything,
> nothing like the picture on their website.

If the package you look at only has one class then this is to be
expected. Try import the root directory of your source, with "Minimize
Class icons in diagram" deselected and "Attributes modelled as UML
associations" (under the Java tab) selected and see if that helps. Be
warned that this might take a long time and require some resources for
large projects.


Regards,
--
Filip Larsen


 
 
steve





PostPosted: 2004-9-8 6:34:00 Top

java-programmer >> Reverse Engineer UML Diagrams From Source Code On Wed, 8 Sep 2004 01:07:22 +0800, Filip Larsen wrote
(in article <chkq1c$9jl$email***@***.com>):

> "steve" wrote
>
>> tried it several times, with all options selected.
>> i just get 1 box in the middle of the screen, no arrows connecting
> anything,
>> nothing like the picture on their website.
>
> If the package you look at only has one class then this is to be
> expected. Try import the root directory of your source, with "Minimize
> Class icons in diagram" deselected and "Attributes modelled as UML
> associations" (under the Java tab) selected and see if that helps. Be
> warned that this might take a long time and require some resources for
> large projects.
>
>
> Regards,
>

well there are 2 options:

1. the program does not work
2. there is something seriously wrong with the way i write my java.

I will assume it is number 2,
I always write my code with 1 class per file.
but i do have maybe 20 classes with source in the project.
the main class calls each of the other classes

I thought that the this program would show my main program class, ( as a box)
then interlink ( with arrows) & show the calls to the other classes.

i did not expect that the classes all had to be in the same package.
( i now see that where items are in the same package, they do link)

again i like to split re-usable items into different packages, and give them
separate package names

or is the purpose of the program something different.

I did import from the root source directory.