Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for AbsolutePath (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            configurationCacheRun 'build', '-I', initScript1.absolutePath, '-I', initScript2.absolutePath
    
            then:
            output.indexOf('initscript1!') < output.indexOf('initscript2!')
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun 'build', '-I', initScript2.absolutePath, '-I', initScript1.absolutePath
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            assert rootProject.projectDir == testDirectory.absolutePath
            assert rootProject.buildFile == buildFile.absolutePath
            assert rootProject.children.size() == 3 // All projects are created when storing
            with(rootProject.children.first() as Map<String, Object>) {
                assert name == 'a'
                assert path == ':a'
                assert projectDir == file('a').absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java

            }
    
            private static String removeTrailingSeparator(String absolutePath) {
                if (absolutePath.equals("/")) {
                    absolutePath = "";
                } else if (absolutePath.endsWith(File.separator)) {
                    absolutePath = absolutePath.substring(0, absolutePath.length() - 1);
                }
                return absolutePath;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

            when:
            run "run", "-PinputFile=${inputFile.absolutePath}", "-PoutputFile=${outputFile.absolutePath}"
            then:
            executedAndNotSkipped ":run"
    
            when:
            def secondInputFile = file("second-input.txt")
            secondInputFile.text = inputFile.text
            run "run", "-PinputFile=${secondInputFile.absolutePath}", "-PoutputFile=${outputFile.absolutePath}"
            then:
            outputFile.text == "first"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            then:
            executedAndNotSkipped(":compileJava")
            outputContains("Compiling with toolchain '${jdk.javaHome.absolutePath}'")
            outputContains("Compiling with Java command line compiler '${jdk.javaExecutable.absolutePath}'")
            classJavaVersion(javaClassFile("Foo.class")) == jdk.javaVersion
    
            // Test up-to-date checks
            when:
            withInstallations(jdk, otherJdk).run(":compileJava")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

                locations.size() == 1
                with(oneLocation(LineInFileLocation)) {
                    length == -1
                    column == -1
                    line == 11
                    path == "build file '$buildFile.absolutePath'"
                }
            }
        }
    
        def "can emit a problem with minimal configuration"() {
            given:
            withReportProblemTask """
                problems.forNamespace('org.example.plugin').reporting {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            javaCompile.options.forkOptions.executable = executableDir.absolutePath
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
            def cause = TestUtil.getRootCause(e) as InvalidUserDataException
            cause.message.contains("The configured executable is a directory")
            cause.message.contains(executableDir.absolutePath)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

                        (BinaryCompatibilityRepositorySetupRule.Params.sourceCompilationClasspath): newClasspath.collect { it.absolutePath } as Set
                    ])
                    addSetupRule(UpgradePropertiesRuleSetup, [
                        currentUpgradedProperties: currentUpgradedPropertiesFile.absolutePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUserHomeIntegrationTest.groovy

            def gradleUserHome = testDirectory.file('some-custom-user-home')
    
            when:
            def executer = wrapperExecuter.withGradleUserHomeDir(null)
            executer.withArguments("-Dgradle.user.home=$gradleUserHome.absolutePath")
            executer.run()
    
            then:
            installationIn gradleUserHome
        }
    
        @Issue('https://issues.gradle.org/browse/GRADLE-2802')
        void 'uses gradle user home set by -g'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

        def "problems are received when a multi-file compilation failure happens"() {
            given:
            possibleFileLocations.put(writeJavaCausingTwoCompilationErrors("Foo").absolutePath, 2)
            possibleFileLocations.put(writeJavaCausingTwoCompilationErrors("Bar").absolutePath, 2)
    
            when:
            fails("compileJava")
    
            then:
            verifyAll(receivedProblem(0)) {
                assertProblem(it, "ERROR", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top