Many organizations use pac files for proxy settings. In some organizations, the contents of the pac are difficult to
decipher or provide special settings/routings that are not configurable through a simple http or socks proxy.
NetBeans needs to accept PAC files for proxy settings.
I did some research on this topic and this is what I've found out so far (copy-paste from our project's tracker). If you have any other knowledge or comments, whether you would accept Mozilla Rhino version, or you know how to fix this without it, ... please speak-up.
The best way was agreed to provide patch to the NetBeans team. But... see 'Implementation problem' section below.
Starting point in NetBeans code-base:
- o.n.core.ui.options.general package in core.ui module
- org.netbeans.core.NbProxySelector class in o.n.core module
Own platform build on top of the patched release691 (or whatever latest stable) branch in 'releases' repository and use it as a base for our application.
 Proxy Client Autoconfig File Format (Specification)
 Mark A. Ziesemer: MarkUtils-PacProxySelector for Java
Implemented in NetBeans 7.0 Beta2, since this version NB can detect PAC settings from system and returns network proxy based on this PAC file. On the other hand, there is not new UI in Tools|Options for set PAC file manually. I close as fixed for now, in the case of missing UI please file new issue. Thanks
I upgraded to Netbeans 7 Beta 2 on Mac OS X, and even though I can access my FTP server and other machines from behind my company's proxy server (for instance, through FileZilla), Netbeans does not allow SVN or FTP/SFTP access using PAC file settings.
I believe this has been evaluated since then. Jirko, what is the status?
(In reply to comment #3)
> I upgraded to Netbeans 7 Beta 2 on Mac OS X, and even though I can access my
> FTP server and other machines from behind my company's proxy server (for
> instance, through FileZilla), Netbeans does not allow SVN or FTP/SFTP access
> using PAC file settings.
Please, file another issue against versioncontrol/subversion with all details (proxy settings, messages.log etc.) Thanks