@Override
  protected ClassLoader buildClasspath() {
    List<File> files = new ArrayList<>();
    // ant installation jars
    List<AntClasspathEntry> cp = AntInstallation.CLASS_PATH.get(myOptions);
    for (final AntClasspathEntry entry : cp) {
      entry.addFilesTo(files);
    }

    // jars from user home
    files.addAll(AntBuildFileImpl.getUserHomeLibraries());

    List<Path> paths = new ArrayList<>(files.size());
    for (File file : files) {
      paths.add(file.toPath());
    }
    return new AntResourcesClassLoader(paths, null, true, false);
  }
@Override
  protected ClassLoader buildClasspath()