ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Lacoste <jerome.laco...@smartcardsystem.com>
Subject [SUBMIT] JDependTask for JDepend 1.2
Date Tue, 29 May 2001 13:40:08 GMT
JDepend, written by Mike Clark, is a free tool used to generate design
quality metrics for each Java package of a set of Java Source file
directories.

Attached are:
- the output of a 'diff -u -r' (contains 'diff -u' output for build.xml,
docs/manual/optionaltasklist.html and
src/main/org/apache/tools/ant/taskdefs/defaults.properties)
- the jdepend.html to put in docs\manual\OptionalTasks
- the JDependTask.java to put in the new
src\main\org\apache\tools\ant\taskdefs\optional\jdepend directory


There is no specific test case but one can test by putting the attached
test.xml file in the Ant build directory, and then run 'ant -f test.xml'
(once the new Ant version is compiled and installed).
'ant -f test.xml clean' removes the generated output files.

jdepend.jar can be retrieved from the address given in the documentation,
i.e. http://www.clarkware.com/software/JDepend.html

The JDependTask requires at least the JDepend 1.2 version.

Hope it helps.

Jerome

PS: the code is mainly based on JUnit Task's one. It seems like a lot could
be shared in a 'smarter' Task class dedicated to run third party programs
both in internal or external VMs. Parameters of JUnit and JDepend tasks are
as well almost identical (fork, haltonerror, vm, dir, timeout,...)

Mime
View raw message