Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unalignFromBaseDirectory (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        }
    
        public void unalignFromBaseDirectory(Model model, File basedir) {
            if (basedir == null) {
                return;
            }
    
            Build build = model.getBuild();
    
            if (build != null) {
                build.setDirectory(unalignFromBaseDirectory(build.getDirectory(), basedir));
    
                build.setSourceDirectory(unalignFromBaseDirectory(build.getSourceDirectory(), basedir));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/path/PathTranslator.java

        void alignToBaseDirectory(Model model, File basedir);
    
        String alignToBaseDirectory(String path, File basedir);
    
        void unalignFromBaseDirectory(Model model, File basedir);
    
        String unalignFromBaseDirectory(String directory, File basedir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

        @Test
        void testUnalignToBasedirWherePathEqualsBasedir() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String unaligned = new DefaultPathTranslator().unalignFromBaseDirectory(basedir.getAbsolutePath(), basedir);
    
            assertEquals(".", unaligned);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top