Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getFiles (0.15 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagonManager.getArtifact(artifact, repo, null, false);
    
            assertTrue(artifact.getFile().exists());
            assertEquals("expected", FileUtils.fileRead(artifact.getFile(), "UTF-8"));
        }
    
        private Artifact createTestPomArtifact(String directory) throws IOException {
            File testData = getTestFile(directory);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
        private boolean isRegularFile(Artifact artifact) {
            return artifact.getFile() != null && artifact.getFile().isFile();
        }
    
        private void installIntoProjectLocalRepository(Artifact artifact) {
            Path target = getArtifactPath(artifact);
            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (artifact == null) {
                return;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                File systemFile = artifact.getFile();
    
                if (systemFile == null) {
                    throw new ArtifactNotFoundException("System artifact: " + artifact + " has no file attached", artifact);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  4. cmd/ftp-server-driver.go

    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    	return err
    }
    
    // GetFile implements ftpDriver
    func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(err)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                throws PluginDescriptorParsingException, InvalidPluginDescriptorException {
            PluginDescriptor pluginDescriptor = null;
    
            File pluginFile = pluginArtifact.getFile();
    
            try {
                if (pluginFile.isFile()) {
                    try (JarFile pluginJar = new JarFile(pluginFile, false)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            return new ArtifactModelSource(pomArtifact.getFile(), groupId, artifactId, version);
        }
    
        record Result(ModelSource source, Parent parent, Exception e) {}
    
        @Override
        public ModelSource resolveModel(final Parent parent, AtomicReference<Parent> modified)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. common/config/.golangci.yml

      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
      # "/" will be replaced by current OS file path separator to properly work on Windows.
      # Default: []
      exclude-dirs:
        - genfiles$
        - vendor$
      # Which files to exclude: they will be analyzed, but issues from them won't be reported.
      # There is no need to include all autogenerated files,
      # we confidently recognize autogenerated files.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertEquals(
            "/home/build/x y.jar",
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile());
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top