Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 133 for relativize (0.05 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                val dirPath = dir.toPath()
                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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            val nodeName = nodeName(node, unit, file)
            return IncubatingDescription(
                name = nodeName,
                sourceRelativePath = repositoryRoot.relativize(file.toPath()),
                lineNumber = node.begin.map { it.line }.orElse(-1)
            )
        }
    
        private
        fun findVersionFromJavadoc(javadoc: Javadoc): String? =
            javadoc.blockTags
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
                // ----------[ packaging ]----------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
                        }
                        stringBuilder.append(" (").append(locationPath).append(")");
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
                // ----------[ packaging ]----------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  8. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)
        public abstract DirectoryProperty getDocumentationRoot();
    
        @Optional @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)
        public abstract DirectoryProperty getSamplesRoot();
    
        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)
        public abstract DirectoryProperty getJavadocRoot();
    
        @Optional @InputFile
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top