Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for RelativePath (0.21 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
                } catch (IOException e) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Sep 28 06:35:34 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testGetResource() {
        assertNotNull(Resources.getResource("com/google/common/io/testdata/i18n.txt"));
      }
    
      public void testGetResource_relativePath_notFound() {
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> Resources.getResource(getClass(), "com/google/common/io/testdata/i18n.txt"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerContext.java

        /**
         * Get the value of the Maven user property.
         */
        String getUserProperty(String key);
    
        /**
         * Get the model based on the path when resolving the parent based on relativePath.
         *
         * @param from    the requiring model
         * @param pomFile the path to the pomFile
         * @return the model, otherwise {@code null}
         */
        Model getRawModel(Path from, Path pomFile);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            }
            return version;
        }
    
        protected Optional<RelativeProject> resolveRelativePath(
                Path pomFile, ModelTransformerContext context, Path relativePath, String groupId, String artifactId) {
            Path pomPath = pomFile.resolveSibling(relativePath).normalize();
            if (Files.isDirectory(pomPath)) {
                pomPath = context.locate(pomPath);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testGetResource() {
        assertNotNull(Resources.getResource("com/google/common/io/testdata/i18n.txt"));
      }
    
      public void testGetResource_relativePath_notFound() {
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> Resources.getResource(getClass(), "com/google/common/io/testdata/i18n.txt"));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    if (parent.getRelativePath() == null || parent.getRelativePath().isEmpty()) {
                        buffer.append(" and 'parent.relativePath' points at no local POM");
                    } else {
                        buffer.append(" and 'parent.relativePath' points at wrong local POM");
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import org.gradle.api.file.Directory;
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.file.DuplicatesStrategy;
    import org.gradle.api.file.ProjectLayout;
    import org.gradle.api.file.RelativePath;
    import org.gradle.api.provider.Provider;
    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.SourceSetContainer;
    import org.gradle.api.tasks.Sync;
    import org.gradle.api.tasks.TaskContainer;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

        File file = root();
        assertNull(file.getParentFile());
        assertNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

          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());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = root();
        assertNull(file.getParentFile());
        assertNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
Back to top