Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for forkx (0.03 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. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AnnotationProcessingSmokeTest.groovy

     */
    
    package org.gradle.smoketests
    
    import org.gradle.testkit.runner.GradleRunner
    
    class AnnotationProcessingSmokeTest extends AbstractSmokeTest {
    
        def 'project lombok works when options.fork=#fork'() {
            given:
            buildFile << """
                plugins {
                    id("java")
                }
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. .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)
  6. src/syscall/exec_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    // Fork, exec, wait, etc.
    
    package syscall
    
    import (
    	errorspkg "errors"
    	"internal/bytealg"
    	"runtime"
    	"sync"
    	"unsafe"
    )
    
    // ForkLock is used to synchronize creation of new file descriptors
    // with fork.
    //
    // We want the child in a fork/exec sequence to inherit only the
    // file descriptors we intend. To do that, we mark all file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/GroovyToJavaConversionIntegrationTest.groovy

        def "For every boolean is getter there is a get Getter"() {
            given:
            executer.requireDaemon().requireIsolatedDaemons() // We need to fork - if we do not fork Class-Decoration does not happen
    
            when:
            def convertedClasses = this.getClass().getResource( '/org/gradle/initialization/converted-types.txt' ).readLines()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. testing/performance/src/templates/project-with-source/build.gradle

    }
    
    String compilerMemory = getProperty('compilerMemory')
    String testRunnerMemory = getProperty('testRunnerMemory')
    int testForkEvery = getProperty('testForkEvery') as Integer
    
    tasks.withType(JavaCompile) {
        options.fork = true
        options.forkOptions.memoryInitialSize=compilerMemory
        options.forkOptions.memoryMaximumSize=compilerMemory
    }
    tasks.withType(Test) {
        minHeapSize = testRunnerMemory
        maxHeapSize = testRunnerMemory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

                plugins {
                    id 'java'
                }
    
                ${dependsOnPidCapturingAnnotationProcessor}
    
                tasks.withType(JavaCompile).configureEach {
                    options.fork = true
                }
            """
            file('src/main/java/Foo.java') << """
                @WorkerPid
                public class Foo {
                    public static void main(String[] args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top