Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for forkx (0.09 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            executer.requireIsolatedDaemons()
        }
    
        def "forks build when JVM args are requested"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "println 'hello world'"
    
            when:
            succeeds()
    
            then:
            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            configCache(true),
            isolatedProjects(true);
    
            final public boolean forks;
            final public boolean executeParallel;
    
            Executer(boolean forks) {
                this(forks, false);
            }
    
            Executer(boolean forks, boolean parallel) {
                this.forks = forks;
                this.executeParallel = parallel;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Used if your Mojo needs to fork a <a href="/ref/3.0.4/maven-core/lifecycles.html">lifecycle</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
         * Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.
         * @return the phase
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. .github/workflows/maven.yml

                if [ $? -eq 0 ]; then
                  echo "Found a branch \"$branch\" in fork \"$user/$repo\", configuring this for the integration tests to be run against."
                  target_branch=$branch
                  target_user=$user
                else
                  echo "Could not find fork \"$user/$repo\" or a branch \"$branch\" in this fork. Falling back to \"$target_branch\" in \"$target_user/$repo\"."
                fi
              else
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

            """
                tasks.withType(JavaCompile) {
                    options.fork = true
                }
            """
        }
    
        @Override
        String logStatement() {
            "compiler daemon"
        }
    
        def setup() {
            executer.withArguments("-d")
        }
    
        def "respects fork options settings"() {
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/build.gradle

    subprojects {
        apply plugin: "groovy"
    
        dependencies {
            implementation localGroovy()
        }
    
        compileJava.options.fork = true
    
        // force creation of multiple daemons for Java compilation by alternating between two distinct sets of JVM args
        def count = (project.name - "project") as int
        compileJava.options.forkOptions.jvmArgs = count % 2 ? ["-dsa"] : ["-esa"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 388 bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/InProcessJavaCompilerIntegrationTest.groovy

    class InProcessJavaCompilerIntegrationTest extends AbstractJavaCompilerIntegrationSpec {
    
        @Override
        String compilerConfiguration() {
            """
                compileJava.options.with {
                    fork = false
                }
            """
        }
    
        @Override
        String logStatement() {
            "Java compiler API"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 981 bytes
    - Viewed (0)
  8. platforms/core-runtime/native/build.gradle.kts

        testImplementation(testFixtures(project(":logging")))
    
        jmhImplementation(project(":files"))
        jmhImplementation(project(":base-services"))
    }
    
    jmh {
        fork = 1
        threads = 2
        warmupIterations = 10
        synchronizeIterations = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CommandLineJavaCompilerIntegrationTest.groovy

    class CommandLineJavaCompilerIntegrationTest extends AbstractJavaCompilerIntegrationSpec {
    
        @Override
        String compilerConfiguration() {
            """
                compileJava.options.with {
                    fork = true
                    forkOptions.javaHome = file("${TextUtil.normaliseFileSeparators(Jvm.current().javaHome.toString())}")
                }
            """
        }
    
        @Override
        String logStatement() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CommandLineJavaCompilerForExecutableIntegrationTest.groovy

    class CommandLineJavaCompilerForExecutableIntegrationTest extends AbstractJavaCompilerIntegrationSpec {
    
        @Override
        String compilerConfiguration() {
            """
                compileJava.options.with {
                    fork = true
                    forkOptions.executable = "${TextUtil.normaliseFileSeparators(Jvm.current().getExecutable("javac").absolutePath)}"
                }
            """
        }
    
        @Override
        String logStatement() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top