We need to make it a bit cleaner. With all "use-dependencies", it is a bit intimidating
As short-lived option, you can use JavaDoc and Graphviz directly:
You need Graphviz on your computer:
http://www.graphviz.org/
- the command for Graphviz is "dot"
Also you need UMLGraph:
http://www.spinellis.gr/sw/umlgraph/
->
http://www.spinellis.gr/sw/umlgraph/UMLGraph-4.6.tar.gz
->
http://www.spinellis.gr/sw/umlgraph/...lGraph-4.6.jar
- the jar needs to be in ../javadoc for the following command to work.
With that and the bash (*nix) you can create UML diagrams with the following command (from inside the phex-svn-folder, i.e. trunk):
Code:
for i in src/phex/* ; do
javadoc -sourcepath ./src/ -docletpath ../javadoc/UmlGraph.jar -doclet
gr.spinellis.umlgraph.doclet.UmlGraph -private -horizontal $(find $i -iname
\*.java) -inferrel -hide "java.*" -hide "javax.*" -hide "com.*" -hide "sun.*" -hide "org.*" -qualify -postfixpackage -inferreltype
composed -inferdep -inferdepinpackage -useimports ; dot graph.dot -Tsvg >
phex-uml-$(basename $i).svg ; done;
It traverses into all directories and creates UML diagrams which are being saved as svg-images in the phex folder (i.e. trunk).
We want to integrate that into ant, but we didn't _yet_ do that...
Wishes,
Arne