Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 292 for forkx (0.08 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

            """
    
            when:
            fails("runInWorker")
    
            then:
            failureCauseContains('Setting the working directory of a worker is not supported')
        }
    
        def "interesting worker daemon fork options are honored"() {
            OptionsVerifier optionsVerifier = new OptionsVerifier(file('process.json'))
            optionsVerifier.with {
                minHeap("128m")
                maxHeap("128m")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/basic/groovy/build.gradle

    test.onlyIf("mySkipTests property is not set") {
        !skipTestsProvider.present
    }
    // end::skip-tests-condition[]
    
    // tag::java-compiler-options[]
    compileJava {
        options.incremental = true
        options.fork = true
        options.failOnError = false
    }
    // end::java-compiler-options[]
    
    // tag::java-release-flag[]
    compileJava {
        options.release = 7
    }
    // end::java-release-flag[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

                assert daemonOpts.contains("-Dfile.encoding=UTF-8")
            }
        }
    
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor) // need to start Gradle process from command line to use GRADLE_OPTS
        def "forks new daemon when file encoding is set to different value via GRADLE_OPTS"() {
            setup:
            buildScript """
                println "GRADLE_VERSION: " + gradle.gradleVersion
    
                task verify {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

         * @param args a {@link String} object.
         * @throws org.openjdk.jmh.runner.RunnerException if any.
         */
        public static void main(String... args) throws RunnerException {
            Options opts = new OptionsBuilder().forks(1).build();
            new Runner(opts).run();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerEnvironmentVariablesIntegrationTest.groovy

            then:
            def e = thrown(InvalidRunnerConfigurationException)
            e.message == "Debug mode is not allowed when environment variables are specified. " +
                "Debug mode runs 'in process' but we need to fork a separate process to pass environment variables. " +
                "To run with debug mode, please remove environment variables."
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/MinimalCompilerDaemonForkOptions.java

    import org.gradle.api.tasks.compile.BaseForkOptions;
    import org.gradle.api.tasks.compile.ProviderAwareCompilerDaemonForkOptions;
    
    /**
     * This class and its subclasses exist so that we have an isolatable instance
     * of the fork options that can be passed along with the compilation spec to a
     * worker executor.  Since {@link ProviderAwareCompilerDaemonForkOptions}
     * and its subclasses can accept user-defined {@link org.gradle.process.CommandLineArgumentProvider}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/ErrorPronePluginSmokeTest.groovy

                }
    
                dependencies {
                    errorprone("com.google.errorprone:error_prone_core:2.8.0")
                }
    
                tasks.withType(JavaCompile).configureEach {
                    options.fork = true
                    options.errorprone {
                        check("DoubleBraceInitialization", net.ltgt.gradle.errorprone.CheckSeverity.ERROR)
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. testing/soak/src/integTest/groovy/org/gradle/jvm/JavaCompilationSoakTest.groovy

                        // ~25MB
                        ext.memoryHog = new byte[1024*1024*25]
    
                        tasks.withType(JavaCompile).configureEach {
                            options.fork = true
                            options.forkOptions.jvmArgs << "-Dcounter=" + project.property("counter")
                        }
                    }
                """
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. hack/cherry_pick_pull.sh

      echo
      echo "where REMOTE is your personal fork (maybe ${UPSTREAM_REMOTE}? Consider swapping those.)."
      echo "OR consider setting UPSTREAM_REMOTE and FORK_REMOTE to different values."
      echo
      make-a-pr
      cleanbranch=""
      exit 0
    fi
    
    echo
    echo "+++ I'm about to do the following to push to GitHub (and I'm assuming ${FORK_REMOTE} is your personal fork):"
    echo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 26 03:51:05 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/ExecHandleBuilder.java

        ExecHandleBuilder setDisplayName(String displayName);
    
        /**
         * When true, spawn the process. That is, start the process and leave it running once successfully started. When false, fork the process (the default). That is, start the process and wait for it to complete.
         */
        ExecHandleBuilder setDaemon(boolean daemon);
    
        /**
         * Sets a handler for the output streams of the process.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top