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

Former-commit-id: 129a5fd9cd55c8a0abf393d0ae8405ddec412d51
This commit is contained in:
Jeremy Long
2014-05-03 09:54:11 -04:00
parent 95e3f0e0d9
commit 1ddb468a08

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);