Class JarFolderRunner
- java.lang.Object
-
- com.diffplug.gradle.eclipserunner.JarFolderRunner
-
- All Implemented Interfaces:
EclipseRunner
public class JarFolderRunner extends Object implements EclipseRunner
Runs an `EclipseApp` within this JVM using a folder containing a `plugins` folder with the necessary jars.
-
-
Constructor Summary
Constructors Constructor Description JarFolderRunner(File rootDirectory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static URLClassLoader
open(List<URL> urls)
void
run(List<String> args)
Runs the eclipse instance with the given arguments.
-
-
-
Constructor Detail
-
JarFolderRunner
public JarFolderRunner(File rootDirectory)
-
-
Method Detail
-
run
public void run(List<String> args) throws Exception
Description copied from interface:EclipseRunner
Runs the eclipse instance with the given arguments.- Specified by:
run
in interfaceEclipseRunner
- Throws:
Exception
-
open
public static URLClassLoader open(List<URL> urls) throws Exception
- Throws:
Exception
-
-