Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getCanonicalPath (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
            assertTrue(file.exists());
            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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            out.println("<a class=\"sort\" style=\"width: 180\" href=\"?fmt=detail&sort=date\">Modified</a><br clear='all'><p>");
    
            path = dir.getCanonicalPath();
    
            if (path.length() < 7) {
                out.println("<b><big>smb1://</big></b><br>");
                path = ".";
            } else {
                out.println("<b><big>" + path + "</big></b><br>");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
            if (!localRepository.isAbsolute()) {
                url = "file://" + localRepository.getCanonicalPath();
            }
    
            return url;
        }
    
        @Override
        public ArtifactResolutionResult resolve(ArtifactResolutionRequest request) {
            /*
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
Back to top