Browse Source

In use, you need to know why your build file has paused for so long.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277056 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 20 years ago
parent
commit
7cd0fc4f66
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main/org/apache/tools/ant/taskdefs/repository/HttpRepository.java

+ 1
- 2
src/main/org/apache/tools/ant/taskdefs/repository/HttpRepository.java View File

@@ -220,9 +220,8 @@ public abstract class HttpRepository extends Repository {
public boolean fetch(Library library, boolean useTimestamp) throws IOException {

String path = getRemoteLibraryURL(library);
logVerbose("Library URL=" + path);
log("Downloading "+path +" to "+ library.getAbsolutePath());
URL remoteURL=new URL(path);
logVerbose("destination =" + library.getAbsolutePath());
long start, finish;
start = System.currentTimeMillis();
boolean success=get(remoteURL, library.getLibraryFile(),useTimestamp,


Loading…
Cancel
Save