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 3232 <zipfileset src =" ${ nbantext.jar } " includes =" ${ bundled.tasks } " />
3333 <zipfileset file =" taskdefs.properties" fullpath =" org/netbeans/nbbuild/taskdefs.properties" />
3434 </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" />
3549 </target >
3650
3751 <target name =" compile-jnlp-launcher" depends =" init,compile" >
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ bundled.tasks=\
8989 org/netbeans/nbbuild/VerifyClassLinkage*.class,\
9090 org/netbeans/nbbuild/VerifyJNLP*.class,\
9191 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
9394
9495test.unit.cp.extra =${netbeans.dest.dir}/harness/jnlp/jnlp-launcher.jar
9596javadoc.arch =${basedir}/arch.xml
Original file line number Diff line number Diff line change 3131import java .io .OutputStream ;
3232import java .math .BigInteger ;
3333import java .net .HttpURLConnection ;
34- import java .net .InetSocketAddress ;
35- import java .net .Proxy ;
36- import java .net .URI ;
37- import java .net .URISyntaxException ;
3834import java .net .URL ;
3935import java .net .URLConnection ;
4036import java .security .MessageDigest ;
4137import java .security .NoSuchAlgorithmException ;
4238import java .util .ArrayList ;
4339import 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 ;
4840import org .apache .tools .ant .BuildException ;
4941import org .apache .tools .ant .DirectoryScanner ;
5042import org .apache .tools .ant .Project ;
You can’t perform that action at this time.
0 commit comments