ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r440201 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
Date Mon, 04 Sep 2006 22:49:47 GMT
Author: peterreilly
Date: Mon Sep  4 15:49:47 2006
New Revision: 440201

URL: http://svn.apache.org/viewvc?view=rev&rev=440201
Log:
Bugzilla report 28865: allow files in classespath for <jdepend>

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java?view=diff&rev=440201&r1=440200&r2=440201
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
Mon Sep  4 15:49:47 2006
@@ -636,10 +636,10 @@
                 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());



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message