code: public void setConf(String confpath) {
      confloader = new AntClassLoader(getClass().getClassLoader(), false);
      confloader.setProject(getProject());
      if (null != confpath)
        confloader.addPathElement(confpath);
    }
docs: Sets the path for the parent-last ClassLoader, intended to be used for
  {@link org.apache.hadoop.conf.Configuration Configuration}.
  @param confpath The path to search for resources, classes, etc. before
  parent ClassLoaders.