applied part of PR for issue #121 - classpath issue with some invocations of the ant client

Former-commit-id: 7c0a0531c753e2ccfb0bdb15a1b179697b9f8905
This commit is contained in:
Jeremy Long
2014-05-03 09:54:11 -04:00
parent 31dd4f6305
commit c89d619808

View File

@@ -866,7 +866,7 @@ public class DependencyCheckTask extends Task {
Engine engine = null;
try {
engine = new Engine();
engine = new Engine(DependencyCheckTask.class.getClassLoader());
for (Resource resource : path) {
final FileProvider provider = resource.as(FileProvider.class);