I quickly developed a tool to view and document Eclipe Project Dependences.
Several things will have to be to improve and perhaps you could help me.
A good tool as Ivy could document artifact dependences.
I will do post about the importance of the dependence management, especially in modular application (we can imagine to use Ivy to help the building and the deployment of OSGi application).
This is an example on workspace with about 30 projects without library :

Click here to enlarge
it works in the following way :
- we give the file name of output picture and all ".project" files to analyze
- it opens the file .project (to find project name) and associates .classpath (to find dependences)
- it parses these xml files to build java model
- it generates graph from java model thanks of Dot/Dotty
This is an example of program invocation :
java -jar outputpicturefile.gif file:./myproject1/.project
file:./myproject2/.project file:./myproject3/.project
I developed it with Java 6. I use the xml parser STaX. Theses things must be improved :
- The library to generate the picture of graph, i want a library (not external application as dotty) and a prettier picture. Moreover i want parametrize this generating as the size of picture, the icons of node, ...
- We could give parameters to view as example libraries in picture (it's not difficult just i must spend time on it)
- I must improve packaging futhermore it's more difficult with external tool
Do you know a better free library than dotty to generate graph picture in Java?
EclipseDependenceAnalyze binaryEclipseDependenceAnalyze sourceDotty works in the following way :
dotty.exe ... "a -> b;"
Dotty will generate a picture with one graph with 2 nodes ("a" and "b") with one arrow from "a" towards "b".