Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getCanonicalPath (1.76 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

         * @return the canonical pathname string representing the same file or directory as this abstract pathname
         */
        public static String getCanonicalPath(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return file.getCanonicalPath();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testGetCanonicalPath() {
                // Act & Assert
                assertEquals("smb://localhost/share/file.txt", smbFile.getCanonicalPath());
            }
    
            @Test
            void testGetServer() {
                // Act & Assert
                assertEquals("localhost", smbFile.getServer());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                } else {
                    // Check if this is the -f/--file option
                    isAltFile = arg.equals("-f") || arg.equals("--file");
                }
            }
            topDirectory = getCanonicalPath(topDirectory);
            cliRequest.topDirectory = topDirectory;
            // We're very early in the process, and we don't have the container set up yet,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top