Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 93 for getPaths (0.06 seconds)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

      private static class BadLengthFile extends File {
    
        private final long badLength;
    
        BadLengthFile(File delegate, long badLength) {
          super(delegate.getPath());
          this.badLength = badLength;
        }
    
        @Override
        public long length() {
          return badLength;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/TransferResourceIdentifier.java

            String resourceName,
            @Nullable Path file) {
        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getPath());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            assertEquals("project>modelGroup1:modelArtifact1:modelVersion1", classRealm.getId());
            assertEquals(1, classRealm.getURLs().length);
            assertTrue(
                    classRealm.getURLs()[0].getPath().endsWith("local/repository/some/path"),
                    "ClassRealm URL should end with local repository path");
    
            verifier.verify(logger, calls(1)).debug("Importing foreign packages into class realm {}", "maven.api");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/FilesTest.java

      private static class BadLengthFile extends File {
    
        private final long badLength;
    
        BadLengthFile(File delegate, long badLength) {
          super(delegate.getPath());
          this.badLength = badLength;
        }
    
        @Override
        public long length() {
          return badLength;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning = new Versioning(
                                        new MetadataStaxReader().read(in, false).getVersioning());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

        /**
         * Returns the path of the file previously associated to this artifact
         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
         * Associates the given file path to the artifact.
         */
        void setPath(@Nonnull ProducedArtifact artifact, Path path);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
        }
    
        /**
         * Same source (user or project extensions.xml) must not contain same GA with different V.
         */
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File f = new File(getBasedir(), path);
    
            f.createNewFile();
    
            return artifactRepositoryFactory.createArtifactRepository(
                    "test", "file://" + f.getPath(), repoLayout, null, null);
        }
    
        protected String getRepositoryLayout() {
            return "default";
        }
    
        protected ArtifactRepository localRepository() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
                    file = basedir.resolve(file.getPath())
                            .normalize()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            + new File(System.getProperty("basedir", "."), "src/test/remote-repo")
                                    .getAbsoluteFile()
                                    .toURI()
                                    .getPath(),
                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
                    new ArtifactRepositoryPolicy());
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top