- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getCanonicalPath (0.08 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
if (context.parserRequest.cwd() != null) { Path result = getCanonicalPath(context.parserRequest.cwd()); context.systemPropertiesOverrides.put("user.dir", result.toString()); return result; } else { Path result = getCanonicalPath(Paths.get(System.getProperty("user.dir"))); mayOverrideDirectorySystemProperty(context, "user.dir", result);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
if (rootDirectory != null) { return getCanonicalPath(rootDirectory); } return null; } @Nonnull public static Path findMandatoryRoot(Path topDirectory) { requireNonNull(topDirectory, "topDirectory"); return getCanonicalPath(Optional.ofNullable(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java
for (final WebResource possibleJar : possibleJars) { if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) { try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) { final Manifest manifest = jarFile.getManifest(); if (manifest != null && manifest.getEntries() != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 3.3K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
} @Test void testMavenConfig() throws Exception { System.setProperty( MavenCli.MULTIMODULE_PROJECT_DIRECTORY, new File("src/test/projects/config").getCanonicalPath()); CliRequest request = new CliRequest(new String[0], null); // read .mvn/maven.config cli.initialize(request); cli.cli(request);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
this.invokerRequest = requireNonNull(invokerRequest); this.cwd = CWD.create(invokerRequest.cwd()); this.installationDirectory = CliUtils.getCanonicalPath(invokerRequest.installationDirectory()); this.userDirectory = CliUtils.getCanonicalPath(invokerRequest.userHomeDirectory()); this.containerCapsuleManaged = containerCapsuleManaged; this.options = options;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
assertEquals("smb1://server/share/file.txt", new SmbFile("smb1://server/share/dir/../file.txt").getCanonicalPath()); assertEquals("smb1://server/file.txt", new SmbFile("smb1://server/share/../file.txt").getCanonicalPath()); assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/").getCanonicalPath()); } @Test public void testGetUncPath() throws MalformedURLException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
@Override protected URLConnection openConnection(final URL u) throws IOException { return null; } }); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.zip", ZipFileUtil.toZipFilePath(url)); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar"); assertTrue(file.exists(), "Expected " + file + ".exists() to return true"); d.setSystemPath(file.getCanonicalPath()); artifact = repositorySystem.createDependencyArtifact(d); // // The request has not set any local or remote repositories as the system scoped dependency being resolved
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url)); } /** * @throws Exception */ public void testRelativePath() throws Exception {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
} final File file = filePath.toFile(); final String canonicalPath = file.getCanonicalPath(); final String varPath = System.getProperty("fess.var.path"); if (varPath != null) { final String baseCanonicalPath = new File(varPath).getCanonicalPath(); if (!canonicalPath.startsWith(baseCanonicalPath)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.7K bytes - Viewed (0)