Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 161 for relativize (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            if (correctParentPath != null) {
                try {
                    Path correctRelativePath = pomPath.getParent().relativize(correctParentPath);
                    String correctRelativePathStr = correctRelativePath.toString().replace('\\', '/');
    
                    if (!correctRelativePathStr.equals(currentRelativePath)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                Files.walk(dirPath).use { paths ->
                    paths.filter { !it.toFile().isDirectory }
                        .limit(4)
                        .map { dirPath.relativize(it).toString() }
                        .collect(Collectors.toList())
                }
            }?.filter {
                it.value.isNotEmpty()
            } ?: emptyMap()
    
        /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                Document document = entry.getValue();
    
                // Calculate the relative path from common root
                Path relativePath = commonRoot.relativize(originalPath);
                Path tempPomPath = tempDir.resolve(relativePath);
    
                // Ensure parent directories exist
                Files.createDirectories(tempPomPath.getParent());
    
                // Write POM to temp location
                writePomToFile(document, tempPomPath);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            }
            return packaged;
        }
    
        private Path relativizeOutputFile(final Path outputFile) {
            Path rootDirectory = session.getRequest().getRootDirectory();
            return rootDirectory.relativize(outputFile);
        }
    
        /**
         * Tries to resolve the specified artifact from the artifacts of the given project.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                try (Stream<Path> paths = Files.walk(basePath)) {
                    paths.filter(path -> path.toFile().getName().endsWith(imageExtention)).forEach(path -> {
                        final Path subPath = basePath.relativize(path);
                        final String docId = subPath.toString().replace("/", StringUtil.EMPTY).replace(suffix, StringUtil.EMPTY);
                        if (!docId.startsWith("_")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

         * @param relative the relative path to resolve
         * @return a new ModelSource for the resolved POM, or null if:
         *         <ul>
         *           <li>This is not a build source</li>
         *           <li>No POM can be found at the resolved location</li>
         *         </ul>
         * @throws NullPointerException if modelLocator or relative is null
         */
        @Nullable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         *   <li><strong>Relative Path</strong> (e.g., {@code Path.of("META-INF/resources")}) - The path is
         *       intended to be resolved relative to the output directory for this source root's {@link #scope()}.
         *       <ul>
         *         <li>For {@link ProjectScope#MAIN}: relative to {@code target/classes}</li>
         *         <li>For {@link ProjectScope#TEST}: relative to {@code target/test-classes}</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            }
    
            @Override
            public Source resolve(@Nonnull String relative) {
                return new BuildPathSource(path.resolve(relative));
            }
    
            @Override
            @Nullable
            public ModelSource resolve(@Nonnull ModelLocator locator, @Nonnull String relative) {
                String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. docs/en/overrides/main.html

            </span> Subscribe to the <strong>FastAPI and friends</strong> newsletter 🎉
          </a>
        </div>
      </div>
      <div id="announce-right" style="position: relative;">
        <div class="item">
          <a title="BlockBee Cryptocurrency Payment Gateway" style="display: block; position: relative;" href="https://blockbee.io?ref=fastapi" target="_blank">
            <span class="sponsor-badge">sponsor</span>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 01 20:06:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar  relative/dir");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(
                fullpath("/with/absolute.jar"),
                fullpath("base/relative.jar"),
                fullpath("base/relative/dir"))
            .inOrder();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top