Class AntClassLoader5

All Implemented Interfaces:
Closeable, AutoCloseable, EventListener, BuildListener, SubBuildListener

public class AntClassLoader5 extends AntClassLoader
since 1.9.7 Just use AntClassLoader itself.
  • Constructor Details

    • AntClassLoader5

      public AntClassLoader5(ClassLoader parent, Project project, Path classpath, boolean parentFirst)
      Creates a classloader for the given project using the classpath given.
      parent - The parent classloader to which unsatisfied loading attempts are delegated. May be null, in which case the classloader which loaded this class is used as the parent.
      project - The project to which this classloader is to belong. Must not be null.
      classpath - the classpath to use to load the classes. May be null, in which case no path elements are set up to start with.
      parentFirst - If true, indicates that the parent classloader should be consulted before trying to load the a class through this loader.