Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for toAbsolutePath (0.12 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            Path beforePomFile =
                    Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath();
            Path afterPomFile =
                    Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath();
            Path tempFile = Files.createTempFile("", ".pom");
            Files.delete(tempFile);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            MountableFile mountableUsers = MountableFile.forHostPath(usersDir.toAbsolutePath().toString());
            MountableFile mountableTestuser1 = MountableFile.forHostPath(testuser1Dir.toAbsolutePath().toString());
            MountableFile mountableTestuser2 = MountableFile.forHostPath(testuser2Dir.toAbsolutePath().toString());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

        private MavenSession newMavenSession() throws Exception {
            return createMavenSession(null);
        }
    
        @Test
        public void testUri() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
            mavenSession.getRequest().setRootDirectory(path);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

    public abstract class MavenInvokerTestSupport {
        static {
            System.setProperty(
                    "library.jline.path",
                    Path.of("target/dependency/org/jline/nativ").toAbsolutePath().toString());
        }
    
        public static final String POM_STRING = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                        Process p = Runtime.getRuntime().exec(new String[] {
                            Paths.get(System.getProperty("java.home"), "bin/java").toString(),
                            "-jar",
                            file.toAbsolutePath().toString(),
                            "5.32",
                            "5.27"
                        });
    
                        try {
                            assertEquals(0, p.waitFor(), "Unexpected exit code");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            this.project = project;
    
            Path basedir = null;
    
            if (project != null) {
                Path projectFile = project.getBasedir();
                basedir = projectFile.toAbsolutePath();
            }
    
            if (basedir == null) {
                basedir = session.getTopDirectory();
            }
    
            if (basedir == null) {
                basedir = Paths.get(System.getProperty("user.dir"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            assertInstanceOf(Path.class, ee.evaluate("${session.rootDirectory}"));
        }
    
        @Test
        public void testUri() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
            mavenSession.getRequest().setRootDirectory(path);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("base/test").toAbsolutePath(), bean.file);
        }
    
        @Test
        void testChildConfigurationElement() throws BeanConfigurationException {
            SomeBean bean = new SomeBean();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
            this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath();
            this.hashCode = Objects.hash(path);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            MountableFile mountableUsers = MountableFile.forHostPath(usersDir.toAbsolutePath().toString());
            MountableFile mountableTestuser1 = MountableFile.forHostPath(testuser1Dir.toAbsolutePath().toString());
            MountableFile mountableTestuser2 = MountableFile.forHostPath(testuser2Dir.toAbsolutePath().toString());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
Back to top