Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 25 for getAbsoluteFile (0.09 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

                Paths.get("src", "test", "resources", "poms", "factory").toString();
    
        private File getPom(String name) {
            return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    /**
     */
    @Deprecated
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
            Properties sysProperties = new Properties();
            sysProperties.setProperty("myproperty", "test");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. 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();
                                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. 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);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.localRepository = localRepository;
    
            if (localRepository != null) {
                setLocalRepositoryPath(new File(localRepository.getBasedir()).getAbsoluteFile());
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setLocalRepositoryPath(File localRepository) {
            localRepositoryPath = localRepository;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/net/URLUtilTest.java

         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
                return file.getAbsoluteFile();
            } else {
                return Paths.get(baseDirectory, file.getPath()).normalize().toFile();
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsoluteFile(), source.getFile());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. 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);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            @Override
            public boolean isSatisfiedBy(File file) {
                try {
                    if (file.getName().equals("package-info.java")) {
                        if (canonicalPackageInfos.contains(file.getAbsoluteFile())) {
                            // The file collection may be resolved several times, e.g. for fingerprinting and for actual javadoc invocation.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top