any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mosta...@apache.org
Subject svn commit: r1231652 - /incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java
Date Sun, 15 Jan 2012 11:18:24 GMT
Author: mostarda
Date: Sun Jan 15 11:18:23 2012
New Revision: 1231652

URL: http://svn.apache.org/viewvc?rev=1231652&view=rev
Log:
Ignoring non existing dirs declared in classpath.

This commit is related to issue #ANY23-35.


Modified:
    incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java

Modified: incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java?rev=1231652&r1=1231651&r2=1231652&view=diff
==============================================================================
--- incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java
(original)
+++ incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/Any23PluginManager.java
Sun Jan 15 11:18:23 2012
@@ -515,6 +515,7 @@ public class Any23PluginManager {
         for (String classPathEntry : classpathEntries) {
             if(classPathEntry.trim().length() == 0) continue;
             final File codePath = new File(URLDecoder.decode(classPathEntry, "UTF-8"));
+            if( ! codePath.exists() ) continue;
             if (codePath.isDirectory()) {
                 loadClassesInPackageFromDir(codePath, packageName, filter, result);
             } else {



Mime
View raw message