Class JarManifestForkConfiguration

    • Constructor Detail

      • JarManifestForkConfiguration

        public JarManifestForkConfiguration​(@Nonnull
                                            Classpath bootClasspath,
                                            @Nonnull
                                            java.io.File tempDirectory,
                                            @Nullable
                                            java.lang.String debugLine,
                                            @Nonnull
                                            java.io.File workingDirectory,
                                            @Nonnull
                                            java.util.Properties modelProperties,
                                            @Nullable
                                            java.lang.String argLine,
                                            @Nonnull
                                            java.util.Map<java.lang.String,​java.lang.String> environmentVariables,
                                            boolean debug,
                                            int forkCount,
                                            boolean reuseForks,
                                            @Nonnull
                                            Platform pluginPlatform,
                                            @Nonnull
                                            ConsoleLogger log)
    • Method Detail

      • createJar

        @Nonnull
        private java.io.File createJar​(@Nonnull
                                       java.util.List<java.lang.String> classPath,
                                       @Nonnull
                                       java.lang.String startClassName)
                                throws java.io.IOException
        Create a jar with just a manifest containing a Main-Class entry for BooterConfiguration and a Class-Path entry for all classpath elements.
        Parameters:
        classPath - List<String> of all classpath elements.
        startClassName - The class name to start (main-class)
        Returns:
        file of the jar
        Throws:
        java.io.IOException - When a file operation fails.