I am about to leave my position and I need to leave documentation for the maintenance of my Java program. The class diagrams I designed at the start of my project are all out of date, to save time I would like to automatically reverse engineer class diagrams. I cannot figure out how to use UMLGraph with Eclipse - I tried LightUML plugin but that error-ed out, with this:
org.eclipse.core.runtime.CoreException: /Users/ctcyu/_EclipseWorkSpace/.metadata/.plugins/org.lightuml.core/build.xml:131: Execute failed: java.io.IOException: Cannot run program "dot" (in directory "/Users/uname/_EclipseWorkSpace/.metadata/.plugins/org.lightuml.core"): error=2, No such file or directory org.eclipse.core.runtime.CoreException: /Users/ctcyu/_EclipseWorkSpace/.metadata/.plugins/org.lightuml.core/build.xml:131: Execute failed: java.io.IOException: Cannot run program "dot" (in directory "/Users/uname/_EclipseWorkSpace/.metadata/.plugins/org.lightuml.core"): error=2, No such file or directory
I see that the program "dot" is in the Graphviz package required by UMLGraph. Since I am using MacOSX, I downloaded Graphviz's Mac package. It installs a Graphviz.app, I can't find any "dot" binaries anywhere. If I compile from source will there be binaries for the "dot" tool?
If I don't use LightUML, and typed in the absolute path to UMLGraph.jar in the "Generate Javadoc" tool in Eclipse, I get this error: javadoc: error - Cannot find doclet class UMLGraph 1 error
How do you specify custom doclets in Eclipse? Or, how do I get LightUML to work? I am using Eclipse Helios.