Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 487 for absolutePaths (0.29 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NormalizedPathChangeDetector.java

            FileType previousFingerprintType = previousFingerprint.getType();
            String absolutePath = pathWithType.getAbsolutePath();
    
            List<FilePathWithType> filePathWithTypes = addedFilesByNormalizedPath.get(normalizedPath);
            Optional<FilePathWithType> match = filePathWithTypes.stream().filter(file -> absolutePath.equals(file.getAbsolutePath())).findFirst();
            return match
                .map(filePathWithType -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractFileSystemLocationSnapshot.java

    public abstract class AbstractFileSystemLocationSnapshot implements FileSystemLocationSnapshot {
        private final String absolutePath;
        private final String name;
        private final AccessType accessType;
    
        public AbstractFileSystemLocationSnapshot(String absolutePath, String name, AccessType accessType) {
            this.absolutePath = absolutePath;
            this.name = name;
            this.accessType = accessType;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            then:
            visited.contains(rootTextFile.absolutePath)
            visited.contains(nestedTextFile.absolutePath)
            !visited.contains(notTextFile.absolutePath)
            !visited.contains(excludedFile.absolutePath)
            !visited.contains(notUnderRoot.absolutePath)
            !visited.contains(doesNotExist.absolutePath)
    
            where:
            walkerInstance << walkers
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/resources/org/gradle/integtests/resolve/ArtifactDependenciesIntegrationTest/canHaveCycleInDependencyGraph/build.gradle

    configurations {
        compile
    }
    dependencies {
        repositories {
            ivy {
                artifactPattern projectDir.absolutePath + '/[module]-[revision].jar'
                ivyPattern projectDir.absolutePath + '/[module]-[revision]-ivy.xml'
            }
        }
        compile 'test:projectA:1.2'
    }
    
    file("projectA-1.2.jar").text = ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 361 bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/WindowsRegistryVersionLocatorTest.groovy

                    break;
            }
            1 * windowsRegistry.getStringValue(_, foundIn, "14.0") >> dir1.createDir("VC").absolutePath
            1 * windowsRegistry.getStringValue(_, foundIn, "12.0") >> dir2.createDir("VC").absolutePath
            1 * windowsRegistry.getStringValue(_, foundIn, "11.0") >> dir3.createDir("VC").absolutePath
    
            and:
            metadata.size() == 3
            metadata[0].installDir == dir1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
            assert snapshot.type == FileType.RegularFile
            assert snapshot.hash == hashFile(file)
        }
    
        void assertIsMissingFileSnapshot(FileSystemLocationSnapshot snapshot, File file) {
            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directoriesAsStablePaths(directories) == stablePaths([
                new File("/usr/lib/jvm/adoptopenjdk-16.jdk").absolutePath,
                new File("/usr/lib/jvm/temurin-17.jdk").absolutePath
            ])
            directories*.source == ["Maven Toolchains", "Maven Toolchains"]
    
            where:
            useProperty << [true, false]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/java/toolchain-config-task/groovy/build.gradle

            execOps.exec {
                executable = javaExecutable.get().asFile.absolutePath
                args = ["-version"]
                standardOutput = outputBytes
                errorOutput = outputBytes
            }
            assert outputBytes.toString("UTF-8").contains("version \"11"):
                "unexpected '${javaExecutable.get().asFile.absolutePath} -version' output"
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/AbstractCompilerPluginTest.groovy

            File parent = Paths.get(sourceFolder.absolutePath, "src", "main", "java", packageFolder).toFile()
            File f = Paths.get(parent.absolutePath, "${className}.java").toFile()
            parent.mkdirs()
            f.text = body
            return [f]
        }
    
        List<File> toModuleSourceFile(String body) {
            def className = "module-info"
            File parent = Paths.get(sourceFolder.absolutePath, "src", "main", "java").toFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotHierarchy.java

         */
        Optional<MetadataSnapshot> findMetadata(String absolutePath);
    
        /**
         * Returns the snapshot stored at the absolute path if one exists.
         */
        default Optional<FileSystemLocationSnapshot> findSnapshot(String absolutePath) {
            return findMetadata(absolutePath)
                .filter(FileSystemLocationSnapshot.class::isInstance)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top