Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for _getParent (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
            while (rootDirectory != null && !isRootDirectory(rootDirectory)) {
                rootDirectory = rootDirectory.getParent();
            }
            return rootDirectory;
        }
    
        @Nonnull
        default String getNoRootMessage() {
            return UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE;
        }
    
        boolean isRootDirectory(Path dir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        public ArtifactMetadata getMd() {
            return md;
        }
    
        public void setMd(ArtifactMetadata md) {
            this.md = md;
        }
    
        public MetadataTreeNode getParent() {
            return parent;
        }
    
        public void setParent(MetadataTreeNode parent) {
            this.parent = parent;
        }
    
        public MetadataTreeNode[] getChildren() {
            return children;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            // load everything...
            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Delete {}", path);
                    }
    
                    Path parent = path.getParent();
                    while (deleteEmptyDirectory(parent)) {
                        parent = parent.getParent();
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to delete {}", path, e);
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                if (!touchfile.getParentFile().exists()
                        && !touchfile.getParentFile().mkdirs()) {
                    getLogger()
                            .debug("Failed to create directory: " + touchfile.getParent()
                                    + " for tracking artifact metadata resolution.");
                    return;
                }
    
                FileChannel channel = null;
                FileLock lock = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

            this.delegate = delegate;
            this.filter = filter;
            this.next = advance();
        }
    
    
        /**
         * @return the parent
         */
        protected final SmbResource getParent () {
            return this.parent;
        }
    
    
        /**
         * @return
         * 
         */
        private SmbResource advance () {
            while ( this.delegate.hasNext() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                } else if (data instanceof Plugin plugin) {
                    return "plugin request " + plugin.getId();
                }
                requestTrace = requestTrace.getParent();
            }
    
            return "n/a";
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            Path pom = determinePom(context);
            if (pom != null) {
                request.setPom(pom.toFile());
                if (pom.getParent() != null) {
                    request.setBaseDirectory(pom.getParent().toFile());
                }
    
                // project present, but we could not determine rootDirectory: extra work needed
                if (context.invokerRequest.rootDirectory().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            }
        }
    
        private void write(Path metadataPath, Metadata metadata) throws RepositoryException {
            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata.getDelegate());
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top