Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for getAbsoluteFile (0.05 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile();
            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                // basedirSysProp is non regexp and basedir too
                path = pathPattern.replace("${" + basedirSysProp + "}", basedir);
                path = path.replace("\\", "/");
            }
            return new File(path).getAbsoluteFile();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private final LocalRepository repository;
    
        public LegacyLocalRepositoryManager(File basedir) {
            this.repository = new LocalRepository(basedir.getAbsoluteFile(), "legacy");
        }
    
        @Override
        public LocalRepository getRepository() {
            return repository;
        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private final LocalRepository repository;
    
        LegacyLocalRepositoryManager(File basedir) {
            this.repository = new LocalRepository(basedir.getAbsoluteFile(), "legacy");
        }
    
        @Override
        public LocalRepository getRepository() {
            return repository;
        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
                    file = new File(new File(basedir, file.getPath()).toURI().normalize()).getAbsoluteFile();
                }
            }
            return file;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException {
            File markerFile = getFileForClasspathResource("local-repo/marker.txt");
    
            return markerFile.getAbsoluteFile().getParentFile();
        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                            public Object getValue(String expression) {
                                if ("baseUri".equals(expression)) {
                                    return projectDir
                                            .getAbsoluteFile()
                                            .toPath()
                                            .toUri()
                                            .toASCIIString();
                                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException {
            File markerFile = getFileForClasspathResource("local-repo/marker.txt");
    
            return markerFile.getAbsoluteFile().getParentFile();
        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/net/URLUtil.java

            assertArgumentNotNull("fileUrl", fileUrl);
    
            try {
                final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
                return new File(path).getAbsoluteFile();
            } catch (final Exception e) {
                throw new ClRuntimeException("ECL0091", asArray(fileUrl), e);
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top