- Timestamp:
- 2017-07-24T21:45:30+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/download/ServerInfoDialog.java
r31636 r31820 115 115 // Specify proxies as environment variables 116 116 // Need to manually specify GSDLHOME and GSDLOS also 117 env = new String[ 4];117 env = new String[5]; 118 118 proxy_url = proxy_url.replaceAll("http://",""); 119 119 env[0] = "http_proxy=http://"+proxy_url; 120 env[1] = "ftp_proxy=ftp://"+proxy_url; 121 env[2] = "GSDLHOME=" + Configuration.gsdl_path; 122 env[3] = "GSDLOS=" + Gatherer.client_operating_system; 120 env[1] = "https_proxy=http://"+proxy_url; // yes, HTTP protocol for https:// too 121 // see also https://wiki.archlinux.org/index.php/proxy_settings 122 env[2] = "ftp_proxy=ftp://"+proxy_url; 123 env[3] = "GSDLHOME=" + Configuration.gsdl_path; 124 env[4] = "GSDLOS=" + Gatherer.client_operating_system; 123 125 prcs = new SafeProcess(command, env, null); 124 126 }
Note:
See TracChangeset
for help on using the changeset viewer.