Browse Source

documenting proxy setup

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278515 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 20 years ago
parent
commit
01cd62036e
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      fetch.xml

+ 10
- 1
fetch.xml View File

@@ -23,7 +23,16 @@
You may also need to set proxy settings. This can be done by You may also need to set proxy settings. This can be done by
setting the JVM proxy values in the ANT_OPTS environment setting the JVM proxy values in the ANT_OPTS environment
variables. variables.

For example, to set the proxy up in the tcsh shell, the command would be
something like:

For csh/tcsh:
setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For bash:
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For Windows, set the environment variable in the appropriate dialog box
and open a new console.
</description> </description>


<!-- Give user a chance to override without editing this file <!-- Give user a chance to override without editing this file


Loading…
Cancel
Save