- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for isRegularFile (0.12 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir)); assertFalse(MoreFiles.isDirectory().apply(symlinkToFile)); assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile)); assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir)); assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile)); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
installationToolchainsFile != null && Files.isRegularFile(installationToolchainsFile) ? Source.fromPath(installationToolchainsFile) : null) .userToolchainsSource( userToolchainsFile != null && Files.isRegularFile(userToolchainsFile) ? Source.fromPath(userToolchainsFile)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java
// maven.config; if exists Path mavenConfig = context.rootDirectory != null ? context.rootDirectory.resolve(".mvn/maven.config") : null; if (mavenConfig != null && Files.isRegularFile(mavenConfig)) { result.add(parseMavenConfigOptions(mavenConfig)); } return result; } protected O parseMavenCliOptions(List<String> args) throws ParserException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java
// gathered with problem collector } } } private Model findRawModel(Path from, Path p) { if (!Files.isRegularFile(p)) { throw new IllegalArgumentException("Not a regular file: " + p); } if (!addEdge(from, p, problems)) { return null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
} private File findInProjectLocalRepository(Artifact artifact) { Path target = getArtifactPath(artifact); return Files.isRegularFile(target) ? target.toFile() : null; } /** * We are interested in project success events, in which case we call * the {@link #installIntoProjectLocalRepository(MavenProject)} method.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
protected void invoke(Path cwd, Collection<String> goals) throws Exception { // works only in recent Maven4 Assumptions.assumeTrue( Files.isRegularFile(Paths.get(System.getProperty("maven.home")) .resolve("conf") .resolve("maven.properties")), "${maven.home}/conf/maven.properties must be a file");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
Path pomPath = pomFile.resolveSibling(relativePath).normalize(); if (Files.isDirectory(pomPath)) { pomPath = context.locate(pomPath); } if (pomPath == null || !Files.isRegularFile(pomPath)) { return Optional.empty(); } Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize()))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
&& "".equals(artifact.getClassifier()) && artifact.getPath() != null) { Path artifactPath = artifact.getPath(); if (Files.isRegularFile(artifactPath)) { try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) { ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
if (mavenOptions.altUserSettings().isPresent()) { userSettingsFile = context.cwdResolver.apply(mavenOptions.altUserSettings().get()); if (!Files.isRegularFile(userSettingsFile)) { throw new FileNotFoundException("The specified user settings file does not exist: " + userSettingsFile); } } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0)