diff --git a/harness/apisupport.harness/build.xml b/harness/apisupport.harness/build.xml
index 256442d06ddd..548620f8fc35 100644
--- a/harness/apisupport.harness/build.xml
+++ b/harness/apisupport.harness/build.xml
@@ -32,6 +32,20 @@
+
+
+
+
+
+
+
+ 2F7553F50B0D14ED811B849C282DA8C1FFC32AAE org.ow2.asm:asm-all:5.0.1
+
+
+
+
+
+
diff --git a/harness/apisupport.harness/nbproject/project.properties b/harness/apisupport.harness/nbproject/project.properties
index 4f50462f6a1e..7db6d5727584 100644
--- a/harness/apisupport.harness/nbproject/project.properties
+++ b/harness/apisupport.harness/nbproject/project.properties
@@ -89,7 +89,8 @@ bundled.tasks=\
org/netbeans/nbbuild/VerifyClassLinkage*.class,\
org/netbeans/nbbuild/VerifyJNLP*.class,\
org/netbeans/nbbuild/XMLUtil*.class,\
- org/netbeans/nbbuild/extlibs/DownloadBinaries*.class
+ org/netbeans/nbbuild/extlibs/DownloadBinaries*.class,\
+ org/netbeans/nbbuild/extlibs/ConfigureProxy*.class
test.unit.cp.extra=${netbeans.dest.dir}/harness/jnlp/jnlp-launcher.jar
javadoc.arch=${basedir}/arch.xml
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
index c6f1363ca9a7..ae33e1c2a545 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
@@ -31,20 +31,12 @@
import java.io.OutputStream;
import java.math.BigInteger;
import java.net.HttpURLConnection;
-import java.net.InetSocketAddress;
-import java.net.Proxy;
-import java.net.URI;
-import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.List;
-import java.util.concurrent.CountDownLatch;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.concurrent.TimeUnit;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.Project;