Added debug statements while finding rippers
This commit is contained in:
parent
17d544498a
commit
e0275949f7
@ -159,7 +159,9 @@ public class Utils {
|
||||
}
|
||||
else {
|
||||
try {
|
||||
logger.debug("fullPath = " + fullPath);
|
||||
String jarPath = fullPath.replaceFirst("[.]jar[!].*", ".jar").replaceFirst("file:", "");
|
||||
logger.debug("jarPath = " + jarPath);
|
||||
JarFile jarFile = new JarFile(jarPath);
|
||||
Enumeration<JarEntry> entries = jarFile.entries();
|
||||
while(entries.hasMoreElements()) {
|
||||
@ -175,6 +177,7 @@ public class Utils {
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
logger.error("Error while loading jar file:", e);
|
||||
throw new RuntimeException(pkgname + " (" + directory + ") does not appear to be a valid package", e);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user