Browse Source

Bugzilla report 28865: allow files in classespath for <jdepend>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440201 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 19 years ago
parent
commit
55e6a82575
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java View File

@@ -636,10 +636,10 @@ public class JDependTask extends Task {
File f = new File(cP[i]);
// not necessary as JDepend would fail, but why loose
// some time?
if (!f.exists() || !f.isDirectory()) {
if (!f.exists()) {
throw new BuildException("\"" + f.getPath()
+ "\" does not represent a valid"
+ " directory. JDepend would"
+ " file or directory. JDepend would"
+ " fail.");
}
commandline.createArgument().setValue(f.getPath());


Loading…
Cancel
Save