Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setBasedir (0.05 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            this.commandTimeout = commandTimeout;
        }
    
        /**
         * Sets the base directory for command execution.
         * @param baseDir The base directory.
         */
        public void setBaseDir(final File baseDir) {
            this.baseDir = baseDir;
        }
    
        /**
         * Sets the timeout for destroying processes.
         * @param commandDestroyTimeout The destroy timeout in milliseconds.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            ArtifactRepository localRepository = localRepository();
    
            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File file = new File(remoteRepo.getBasedir(), path);
    
            assertFalse(file.exists(), "Remote artifact " + file + " should not be present.");
        }
    
        protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository localRepo = localRepository();
    
            String path = localRepo.pathOf(artifact);
    
            File file = new File(localRepo.getBasedir(), path);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * the path may point to a non XML file.
         * <p>
         * The POM path is also used to define the {@linkplain #getBasedir() base directory}
         * of the project.
         *
         * @return the path of the pom
         * @see #getBasedir()
         */
        @Nonnull
        Path getPomPath();
    
        /**
         * Returns the project base directory, i.e. the directory containing the project.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

    import org.eclipse.aether.repository.LocalRepository;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @PlexusTest
    class PomConstructionWithSettingsTest {
        private static final String BASE_DIR = "src/test";
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone");
            assertEquals(
                    projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone");
        }
    
        @Test
        void testUndefinedOutputDirectory() throws Exception {
            MavenProject p = new MavenProject();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

            when(build.getTestOutputDirectory()).thenReturn("target/test-classes");
    
            Project project = mock(Project.class);
            when(project.getBuild()).thenReturn(build);
            when(project.getBasedir()).thenReturn(Path.of("myproject"));
            when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod();
    
            assertEquals(Path.of("myproject", "target", "classes"), targetPath(project));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Oct 26 17:22:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                if (projects != null) {
                    projectLocalRepository = projects.stream()
                            .filter(project -> Objects.equals(root.toFile(), project.getBasedir()))
                            .findFirst()
                            .map(project -> project.getBuild().getDirectory())
                            .map(Paths::get)
                            .orElseGet(() -> root.resolve("target"))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top