From 6600abd3f92b96ebe43ad1e2850c4fd3ca0f2982 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 26 Mar 2014 11:34:06 -0700 Subject: [PATCH] Adding more start debug for lib resolution steps --- .../src/main/java/org/eclipse/jetty/start/StartArgs.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/StartArgs.java b/jetty-start/src/main/java/org/eclipse/jetty/start/StartArgs.java index 93ca76d6c7e..9892127b83a 100644 --- a/jetty-start/src/main/java/org/eclipse/jetty/start/StartArgs.java +++ b/jetty-start/src/main/java/org/eclipse/jetty/start/StartArgs.java @@ -322,7 +322,9 @@ public class StartArgs // Find and Expand Libraries for (String rawlibref : module.getLibs()) { + StartLog.debug("rawlibref = " + rawlibref); String libref = properties.expand(rawlibref); + StartLog.debug("expanded = " + libref); if (libref.startsWith("regex:")) { @@ -367,10 +369,13 @@ public class StartArgs } } regex.append('$'); + StartLog.debug("regex = " + regex); FileFilter filter = new FS.FilenameRegexFilter(regex.toString()); - for (File libfile : baseHome.listFiles(relativePath,filter)) + List libs = baseHome.listFiles(relativePath,filter); + StartLog.debug("found " + libs.size() + " libs"); + for (File libfile : libs) { classpath.addComponent(libfile); }