Class JarFolderRunnerExternalJvm
java.lang.Object
com.diffplug.gradle.eclipserunner.JarFolderRunnerExternalJvm
- All Implemented Interfaces:
EclipseRunner
Runs an `EclipseApp` in a new JVM using a folder containing
a `plugins` folder with the necessary jars.
-
Constructor Summary
ConstructorsConstructorDescriptionJarFolderRunnerExternalJvm(File rootDirectory) If you have a gradleProjectobject handy, useJarFolderRunnerExternalJvm(File, Project)instead, as it will be more reliable.JarFolderRunnerExternalJvm(File rootDirectory, File workingDirectory, Project project) JarFolderRunnerExternalJvm(File rootDirectory, Project project) -
Method Summary
-
Constructor Details
-
JarFolderRunnerExternalJvm
If you have a gradleProjectobject handy, useJarFolderRunnerExternalJvm(File, Project)instead, as it will be more reliable. This constructor may fail if there are fancy classloaders at work.- Parameters:
rootDirectory- a directory which contains a `plugins` folder containing the OSGi jars needed to run applications.
-
JarFolderRunnerExternalJvm
- Parameters:
rootDirectory- a directory which contains a `plugins` folder containing the OSGi jars needed to run applications.project- used to calculate the classpath of the newly launched JVM
-
JarFolderRunnerExternalJvm
public JarFolderRunnerExternalJvm(File rootDirectory, @Nullable File workingDirectory, @Nullable Project project) - Parameters:
rootDirectory- a directory which contains a `plugins` folder containing the OSGi jars needed to run applications.project- used to calculate the classpath of the newly launched JVM
-
-
Method Details
-
setVmArgs
-
run
Description copied from interface:EclipseRunnerRuns the eclipse instance with the given arguments.- Specified by:
runin interfaceEclipseRunner- Throws:
Exception
-