- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 144 for toPath (0.06 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
} } private org.apache.maven.api.services.Source toSource(File file, Source source) { if (file != null && file.exists()) { return org.apache.maven.api.services.Source.fromPath(file.toPath()); } else if (source instanceof FileSource fs) { return org.apache.maven.api.services.Source.fromPath(fs.getPath()); } else if (source != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
this, project, consumer, session, new ProjectArtifact(project), () -> project.getFile().toPath(), CONSUMER_POM_CLASSIFIER, "pom"); } void transform(MavenProject project, RepositorySystemSession session, Path src, Path tgt)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
} private fun File.withUniqueDirectory(prefixPath: String): File = Files.createTempDirectory( withDirectory(prefixPath.substringBeforeLast("/")).toPath(), prefixPath.substringAfterLast("/") ).toFile() private fun File.withDirectory(path: String): File = resolve(path).apply { mkdirs() }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
return result instanceof Path ? evaluator.alignToBaseDirectory(((Path) result).toFile()).toPath() : result; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java
ModelBuildingRequest request, ModelProblemCollector problems) { return new org.apache.maven.model.Model(interpolateModel( model.getDelegate(), projectDir != null ? projectDir.toPath() : null, request, problems)); } @Override public org.apache.maven.model.Model interpolateModel( org.apache.maven.model.Model model, Path projectDir,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java
public Path getPomPath() { return pomPath; } @Deprecated @Override public DefaultModelBuildingRequest setPomFile(File pomFile) { this.pomPath = (pomFile != null) ? pomFile.toPath().toAbsolutePath() : null; return this; } @Override public DefaultModelBuildingRequest setPomPath(Path pomPath) { this.pomPath = (pomPath != null) ? pomPath.toAbsolutePath() : null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
validateApi(body, messages -> {}); return asStream("elevate.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { elevateWordService.exportCsv(writer);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
} } private boolean fileContainsText(File referencedFile, String text) { try { for (String line : Files.readAllLines(referencedFile.toPath())) { if (line.contains(text)) { return true; } } } catch (IOException e) { // ignore } return false;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
final File baseJspFile = getDesignJspFile("/WEB-INF/view/" + e.getValue()); try { final Path jspPath = jspFile.toPath(); Files.copy(baseJspFile.toPath(), jspPath); fileList.add(jspPath); } catch (final IOException ex) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
// path to pom.xml File currentPom = project.getFile(); if (currentPom != null) { MavenSession session = event.getSession(); Path current = currentPom.toPath().toAbsolutePath().normalize(); Path topDirectory = session.getTopDirectory(); if (topDirectory != null && current.startsWith(topDirectory)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0)