Tim Blackman wrote:
On Mar 29, 2009, at 9:53 PM, Peter Firmstone wrote:
Thanks for the code! I'm testing it right now.
If all seems to work, I'll provide a patch for build.xml and
integrationtest.xml.
EDIT: I have successfully built and run ClassDepend on a number of
JAR targets in the QA suite build. It seems to calculate the same
dependencies as ClassDep. However, the command line options are not
the same as for ClassDep, so integrating it into the build would
require quite some work. Not impossible though.
I was thinking of implementing a ProxyClassDep to convert the command
line input from ClassDepLoader to ClassDepend or fallback to ClassDep
(if its in the classpath) when ClassDepend doesn't implement the
functionality.
What capabilities does ClassDep have that are not supported by
ClassDepend?
- Tim
I haven't done the comparison to ClassDep yet, however I'm reading into
your comment that ClassDepend does have full equivalent functionality
and can probably do more as there are some class dependencies that
ClassDep misses. If this is the case it certainly makes the integration
much easier. If so, instead of setting up a proxy, I'll probably make
ClassDep wrap ClassDepend, and reimplement its methods by forwarding
requests onto ClassDepend. Will look into it more on the weekend.
N.B. Thanks for the code, it was much better than I expected. I checked
around on the net to get some background on whom I'm talking to on this
list and must say I'm impressed.
Cheers,
Peter.