Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for WorkingDir (0.18 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

            def versionWorkingDirName = String.format('%03d', runIndex)
            def perVersion = new File(workingDir, versionWorkingDirName)
            return cleanOrCreate(perVersion)
        }
    
        private File perVersionStudioSandboxDirectory(File workingDir) {
            File studioSandboxDir = new File(workingDir, "studio-sandbox")
            return cleanOrCreate(studioSandboxDir)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlRepositoryFactory.java

                            File workingDir = new File(baseDir, repoName);
                            GFileUtils.mkdirs(workingDir);
                            // Update timestamp so that working directory is not garbage collected
                            GFileUtils.touch(baseDir);
                            delegate.populate(workingDir, ref, spec);
                            return workingDir;
                        } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy

            return runBuildWithToolingConnection(action)
        }
    
        void usingToolingConnection(File workingDir, Action<ProjectConnection> action) {
            def toolingApi = new ToolingApi(distribution, testDirectoryProvider)
            toolingApi.withConnector {
                it.forProjectDirectory(workingDir)
            }
    
            def systemPropertiesBeforeInvocation = new HashMap<String, Object>(System.getProperties())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            then:
            outputContains('Hello World!')
        }
    
        ExecutionResult runViaUnixStartScript(TestFile startScriptDir) {
            buildFile << """
    task execStartScript(type: Exec) {
        workingDir '$startScriptDir.canonicalPath'
        commandLine './sample'
        environment JAVA_OPTS: ''
    }
    """
            return succeeds('execStartScript')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonStarter.java

            }
        }
    
        private DaemonStartupInfo startProcess(List<String> args, File workingDir, File gradleUserHome, InputStream stdInput) {
            LOGGER.debug("Starting daemon process: workingDir = {}, daemonArgs: {}", workingDir, args);
            Timer clock = Time.startTimer();
            try {
                GFileUtils.mkdirs(workingDir);
    
                DaemonOutputConsumer outputConsumer = new DaemonOutputConsumer();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy

        @Subject factory = new WorkerDaemonFactory(clientsManager, buildOperationRunner, workerDaemonClientCancellationHandler)
    
        def workingDir = new File("some-dir")
        def projectCacheDir = new File("some-cache-dir")
        def options = Stub(DaemonForkOptions)
        def requirement = new ForkedWorkerRequirement(workingDir, projectCacheDir, options)
        def spec = Stub(IsolatedParametersActionExecutionSpec)
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. analysis/analysis-api/build.gradle.kts

        "test" { projectDefault() }
    }
    
    tasks.withType<KotlinJvmCompile>().configureEach {
        compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
    }
    
    testsJar()
    
    projectTest {
        workingDir = rootDir
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/build.gradle.kts

        "test" {
            projectDefault()
            generatedTestDir()
        }
    }
    
    optInToUnsafeDuringIrConstructionAPI()
    
    projectTest(jUnitMode = JUnitMode.JUnit5) {
        dependsOn(":dist")
        workingDir = rootDir
        useJUnitPlatform()
    }.also { confugureFirPluginAnnotationsDependency(it) }
    
    testsJar()
    
    allprojects {
        tasks.withType<KotlinJvmCompile>().configureEach {
            compilerOptions.optIn.addAll(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/tasks/Exec.java

     */
    package org.gradle.api.tasks;
    
    import org.gradle.work.DisableCachingByDefault;
    
    /**
     * Executes a command line process. Example:
     * <pre class='autoTested'>
     * task stopTomcat(type:Exec) {
     *   workingDir '../tomcat/bin'
     *
     *   //on windows:
     *   commandLine 'cmd.exe', '/d', '/c', 'stop.bat'
     *
     *   //on linux
     *   commandLine './stop.sh'
     *
     *   //store the output instead of printing to the console:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy

                setArgs(theArgs) //split purposefully to avoid weird windows CI issue
                executable = 'cmd.exe'
            } else {
                executable = "${workingDir}/${executable}"
            }
            builder.environment("JAVA_HOME", System.getProperty("java.home"))
            // // https://github.com/gradle/dotcom/issues/6071
            builder.environment("JAVA_OPTS", "")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top