Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCanonicalPath (0.08 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 {
                return getCanonicalPath(Paths.get(System.getProperty("user.dir")));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbFile f = createTestFile();
                  SmbFileOutputStream ostream = f.openOutputStream(true, SmbConstants.FILE_NO_SHARE);
                  SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) {
    
                try {
                    assertTrue(checkFile.exists());
                }
                finally {
                    ostream.close();
                    checkFile.close();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

                if (file.isDirectory()) {
                    traverseFileSystem(rootDir, file, handler);
                } else {
                    final int pos = FileUtil.getCanonicalPath(rootDir).length();
                    final String filePath = FileUtil.getCanonicalPath(file);
                    final String resourcePath = filePath.substring(pos + 1).replace('\\', '/');
                    final InputStream is = InputStreamUtil.create(file);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  6. 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;
        }
    
        public ArtifactResolutionResult resolve(ArtifactResolutionRequest request) {
            /*
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top