Class JarFolderRunnerExternalJvm

java.lang.Object
com.diffplug.gradle.eclipserunner.JarFolderRunnerExternalJvm
All Implemented Interfaces:
EclipseRunner

public class JarFolderRunnerExternalJvm extends Object implements EclipseRunner
Runs an `EclipseApp` in a new JVM using a folder containing a `plugins` folder with the necessary jars.
  • Constructor Details

    • JarFolderRunnerExternalJvm

      public JarFolderRunnerExternalJvm(File rootDirectory)
      If you have a gradle Project object handy, use JarFolderRunnerExternalJvm(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

      public JarFolderRunnerExternalJvm(File rootDirectory, @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
    • 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