Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for getParent (0.2 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

            String groupId = m.getGroupId();
            if (groupId == null && m.getParent() != null) {
                groupId = m.getParent().getGroupId();
            }
    
            String version = m.getVersion();
            if (version == null && m.getParent() != null) {
                version = m.getParent().getVersion();
            }
    
            return new RelativeProject(groupId, m.getArtifactId(), version);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertNull(root.getParent());
          assertNull(root.toRealPath().getParent());
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertNull(path.getParent());
        assertNotNull(path.toAbsolutePath().getParent());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertNotNull(project1.getParent(), "Parent is null");
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    # need to clarify for shard
    for p in result._elem.xpath(".//error | .//failure"):
      key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text
      p.text = runfiles_matcher.sub("[testroot]/", p.text)
      source_file = p.getparent().getparent().get("source_file", "")
      p.text += f"\nNOTE: From {source_file}"
      if "bazel_pip" in source_file:
        p.text += (
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            if (POM_PACKAGING.equals(packaging)) {
                // raw to consumer transform
                model = model.withRoot(false).withModules(null).withSubprojects(null);
                if (model.getParent() != null) {
                    model = model.withParent(model.getParent().withRelativePath(null));
                }
    
                if (!model.isPreserveModelVersion()) {
                    model = model.withPreserveModelVersion(false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

                    .filter(Objects::nonNull)
                    .findFirst()
                    .orElseGet(() -> modelLocator.locatePom(projectDirectory));
            if (!pom.equals(projectDirectory) && !pom.getParent().equals(projectDirectory)) {
                throw new IllegalArgumentException("The POM found does not belong to the given directory: " + pom);
            }
            return pom;
        }
    
        @Deprecated
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
                groupId = model.getParent().getGroupId();
            }
    
            String artifactId = model.getArtifactId();
    
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
                version = model.getParent().getVersion();
            }
            if (version == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
            value = "ftp://123.123.123.123/test.txt";
            ftpInfo = new FtpClient.FtpInfo(value);
            assertEquals(value, ftpInfo.toUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("css".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getCssPath(names);
                            Files.createDirectories(path.getParent());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileLocationTest.java

        public void testParentRoot () throws MalformedURLException, CIFSException {
            try ( SmbFile p = new SmbFile("smb://", getContext());
                  SmbResource pp = new SmbFile(p.getParent(), getContext()) ) {
                assertEquals("smb://", p.getLocator().getParent());
                assertEquals(SmbConstants.TYPE_WORKGROUP, pp.getLocator().getType());
                assertNull(pp.getLocator().getServer());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
Back to top