File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed
harness/apisupport.harness
nbbuild/antsrc/org/netbeans/nbbuild/extlibs Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 32
32
<zipfileset src =" ${ nbantext.jar } " includes =" ${ bundled.tasks } " />
33
33
<zipfileset file =" taskdefs.properties" fullpath =" org/netbeans/nbbuild/taskdefs.properties" />
34
34
</nb-ext-jar >
35
+
36
+ <!-- verify that the DownloadBinaries task is properly functional -->
37
+ <taskdef name =" TestDownload" classname =" org.netbeans.nbbuild.extlibs.DownloadBinaries" >
38
+ <classpath >
39
+ <pathelement location =" ${ cluster } /tasks.jar" ></pathelement >
40
+ </classpath >
41
+ </taskdef >
42
+ <echo file =" build/binaries-list" >2F7553F50B0D14ED811B849C282DA8C1FFC32AAE org.ow2.asm:asm-all:5.0.1</echo >
43
+ <TestDownload >
44
+ <manifest dir =" build" >
45
+ <include name =" binaries-list" />
46
+ </manifest >
47
+ </TestDownload >
48
+ <delete file =" build/asm-all-5.0.1.jar" />
35
49
</target >
36
50
37
51
<target name =" compile-jnlp-launcher" depends =" init,compile" >
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ bundled.tasks=\
89
89
org/netbeans/nbbuild/VerifyClassLinkage*.class,\
90
90
org/netbeans/nbbuild/VerifyJNLP*.class,\
91
91
org/netbeans/nbbuild/XMLUtil*.class,\
92
- org/netbeans/nbbuild/extlibs/DownloadBinaries*.class
92
+ org/netbeans/nbbuild/extlibs/DownloadBinaries*.class,\
93
+ org/netbeans/nbbuild/extlibs/ConfigureProxy*.class
93
94
94
95
test.unit.cp.extra =${netbeans.dest.dir}/harness/jnlp/jnlp-launcher.jar
95
96
javadoc.arch =${basedir}/arch.xml
Original file line number Diff line number Diff line change 31
31
import java .io .OutputStream ;
32
32
import java .math .BigInteger ;
33
33
import java .net .HttpURLConnection ;
34
- import java .net .InetSocketAddress ;
35
- import java .net .Proxy ;
36
- import java .net .URI ;
37
- import java .net .URISyntaxException ;
38
34
import java .net .URL ;
39
35
import java .net .URLConnection ;
40
36
import java .security .MessageDigest ;
41
37
import java .security .NoSuchAlgorithmException ;
42
38
import java .util .ArrayList ;
43
39
import java .util .List ;
44
- import java .util .concurrent .CountDownLatch ;
45
- import java .util .concurrent .ExecutorService ;
46
- import java .util .concurrent .Executors ;
47
- import java .util .concurrent .TimeUnit ;
48
40
import org .apache .tools .ant .BuildException ;
49
41
import org .apache .tools .ant .DirectoryScanner ;
50
42
import org .apache .tools .ant .Project ;
You can’t perform that action at this time.
0 commit comments