include plugin name in "is disabled" log message

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24560 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
mindless committed 2009-12-11 05:19:36 +00:00
1 parent f62814d91a
commit b88fa252ee
1 file changed
+5 -5
@@ -137,15 +137,15 @@ public class ClassicPluginStrategy implements PluginStrategy {
paths.add(classes);
File lib = new File(expandDir, "WEB-INF/lib");
File[] libs = lib.listFiles(JAR_FILTER);
if (libs != null)
if (libs != null)
paths.addAll(Arrays.asList(libs));
baseResourceURL = expandDir.toURI().toURL();
}
File disableFile = new File(archive.getPath() + ".disabled");
if (disableFile.exists()) {
LOGGER.info("Plugin is disabled");
}
File disableFile = new File(archive.getPath() + ".disabled");
if (disableFile.exists()) {
LOGGER.info("Plugin " + archive.getName() + " is disabled");
}
// compute dependencies
List<PluginWrapper.Dependency> dependencies = new ArrayList<PluginWrapper.Dependency>();