DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28865>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28865 JDepend <classespath> does not accept jars, but can with minor change. Summary: JDepend <classespath> does not accept jars, but can with minor change. Product: Ant Version: 1.6.1 Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] JDepend versions >=2.6 can accept .jar, .war and .zip files containing classes for analysis. The current JDependTask has code in methods executeAsForked and executeInVM that prevents this by incorrectly preempting JDepend failing in code such as: if (!f.exists() || !f.isDirectory()) { String msg = "\"" + f.getPath() + "\" does not represent a valid" + " directory. JDepend would fail."; log(msg); throw new BuildException(msg); } If the "|| !f.isDirectory()" conditions are removed the code works with .jar files. I have tested this with both fork="yes" and fork="no". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]