This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241187 - NB build should support downloading of dependencies behind a corporate proxy
Summary: NB build should support downloading of dependencies behind a corporate proxy
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 16:09 UTC by jmborer
Modified: 2015-09-09 11:22 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patched DownloadBinaries (15.68 KB, application/octet-stream)
2014-01-30 16:09 UTC, jmborer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmborer 2014-01-30 16:09:36 UTC
Created attachment 144603 [details]
patched DownloadBinaries

Today was the first time I tried to build the platform behind a corporate firewall that requires authentication.

Unfortunately, DownloadBinaries doesn't support it proxy especially when authentication is required. I finally managed to patch the code so that it now works (it is attached to this issue). 

The usage is simple, you just need to define some system properties:

* "http.proxyHost": the IP or name of the proxy
* "http.proxyPort": the port

If authentication is required (was my case):
* "proxy.authentication.user": the user name. on windows probably you will need to prefix with the domain: DOMAIN\user
* "proxy.authentication.password": obviously, the password

I would really appreciate if my patch could be included in next releases of NB.
Comment 1 Jaroslav Tulach 2014-01-30 16:21:43 UTC
$ hg diff 
is the standard way to generate a diff.

Jirka is our expert on proxies.
Comment 2 jmborer 2014-01-30 16:25:06 UTC
(In reply to Jaroslav Tulach from comment #1)
> $ hg diff 
> is the standard way to generate a diff.

I know, but unfortunately I am a bit behind a "Fort Knox" proxy. I cannot easily use hg. It was simpler for me to download the zip and send you the "patch". Sorry for the inconvenience.

> Jirka is our expert on proxies.

Looking forward hearing from him about this topic.