Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 246 for WorkingDir (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

        }
    
        def "is compatible with same workingDir"() {
            def other = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions())
    
            when:
            options.workingDir = new File("foo")
            other.workingDir = new File("foo")
    
            then:
            options.isCompatibleWith(other)
        }
    
        def "is not compatible with different workingDir"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/DaemonExecHandleBuilder.java

    import java.io.InputStream;
    import java.util.List;
    
    public class DaemonExecHandleBuilder {
        public ExecHandle build(List<String> args, File workingDir, DaemonOutputConsumer outputConsumer, InputStream inputStream, ExecHandleBuilder builder) {
            builder.commandLine(args);
            builder.setWorkingDir(workingDir);
            builder.setStandardInput(inputStream);
            builder.redirectErrorStream();
            builder.setTimeout(30000);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy

            javaForkOptions1.workingDir = systemSpecificAbsolutePath("foo")
            javaForkOptions1.minHeapSize = "128m"
            javaForkOptions1.maxHeapSize = "1g"
            javaForkOptions1.jvmArgs = ["-server", "-verbose:gc"]
            def javaForkOptions2 = TestFiles.execFactory().newJavaForkOptions()
            javaForkOptions2.workingDir = systemSpecificAbsolutePath("foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoTaskExtensionSpec.groovy

            agent.supportsJmx() >> true
            agent.supportsInclNoLocationClasses() >> true
            agent.jar >> temporaryFolder.file('workingDir/subfolder/fakeagent.jar')
            task.getWorkingDir() >> temporaryFolder.file("workingDir")
    
            extension.with {
                destinationFile = temporaryFolder.file('build/jacoco/fake.exec')
                includes = ['org.*', '*.?acoco*']
                excludes = ['org.?joberstar']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.AbstractExecTask.xml

                </tr>
                <tr>
                    <td>commandLine</td>
                </tr>
                <tr>
                    <td>executable</td>
                </tr>
                <tr>
                    <td>workingDir</td>
                </tr>
                <tr>
                    <td>environment</td>
                </tr>
                <tr>
                    <td>standardInput</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java

        private final List<MavenProject> dependentWars = new ArrayList<>();
        private final Directory workingDir;
        private final BuildInitDsl dsl;
        private final InsecureProtocolOption insecureProtocolOption;
    
        public Maven2Gradle(Set<MavenProject> mavenProjects, Directory workingDir, BuildInitDsl dsl, boolean useIncubatingAPIs, InsecureProtocolOption insecureProtocolOption) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

            File executable = testExecutionSpec.getRunScript();
            File workingDir = testExecutionSpec.getWorkingDir();
    
            String rootTestSuiteId = testExecutionSpec.getPath();
    
            TestClassProcessor processor = new XCTestProcessor(getClock(), executable, workingDir, getExecHandleFactory().newExec(), getIdGenerator(), rootTestSuiteId);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/VcsVersionSelectionCache.java

        }
    
        public void putWorkingDirForSelector(VersionControlRepositoryConnection repository, VersionConstraint constraint, File workingDir) {
            String cacheKey = constraintCacheKey(repository, constraint);
            resolvedVersions.put(cacheKey, workingDir);
        }
    
        private String versionCacheKey(VersionControlRepositoryConnection repository, VersionRef version) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpecTestBase.groovy

            where:
            configureAction                                   | _
            configure { it.workingDir("foo/bar") }            | _
            configure { it.workingDir = "foo/bar" }           | _
            configure { it.workingDir = new File("foo/bar") } | _
        }
    
        protected abstract ProviderCompatibleBaseExecSpec createSpecUnderTest()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top