@@ -46,40 +46,24 @@
</td></tr>
</td></tr>
<tr><td><blockquote>
<tr><td><blockquote>
Sets Java's web proxy properties, so that tasks and code run in
the same JVM can have through-the-firewall access to remote web sites,
and remote ftp sites.
You can nominate an http and ftp proxy, or a socks server, reset the server
settings, or do nothing at all.
<p>
Examples
<pre><setproxy/></pre>
do nothing
<pre><setproxy proxyhost="firewall"/></pre>
set the proxy to firewall:80
<pre><setproxy proxyhost="firewall" proxyport="81"/></pre>
set the proxy to firewall:81
<pre><setproxy proxyhost=""/></pre>
stop using the http proxy; don't change the socks settings
<pre><setproxy socksproxyhost="socksy"/></pre>
use socks via socksy:1080
<pre><setproxy socksproxyhost=""/></pre>
stop using the socks server
Sets Java's web proxy properties, so that tasks and code run in the same JVM can have through-the-firewall access to remote web sites, and remote ftp sites. You can nominate an http and ftp proxy, or a socks server, reset the server settings, or do nothing at all. <p> Examples <pre><setproxy/></pre> do nothing <pre><setproxy proxyhost="firewall"/></pre> set the proxy to firewall:80 <pre><setproxy proxyhost="firewall" proxyport="81"/></pre> set the proxy to firewall:81 <pre><setproxy proxyhost=""/></pre> stop using the http proxy; don't change the socks settings <pre><setproxy socksproxyhost="socksy"/></pre> use socks via socksy:1080 <pre><setproxy socksproxyhost=""/></pre> stop using the socks server. <p> You can set a username and password for http with the <tt>proxyHost</tt> and <tt>proxyPassword</tt> attributes. On Java1.4 and above these can also be used against SOCKS5 servers. </p>
</blockquote></td></tr>
</blockquote></td></tr>
</table>
</table>
<!-- End Description -->
<!-- End Description -->
<!-- Ignore -->
<!-- Start Attributes -->
<!-- Start Attributes -->
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td bgcolor="#525D76">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica.sanserif">
<font color="#ffffff" face="arial,helvetica.sanserif">
<a name="attributes">
<a name="attributes">
<strong>Parameters</strong></a></font>
<strong>Parameters</strong></a></font>
</td></tr>
</td></tr>
<tr><td><blockquote>
<tr><td><blockquote>
<table>
<table>
<tr>
<tr>
@@ -91,35 +75,36 @@
</td>
</td>
<td bgcolor="#cccccc" valign="top" align="left">
<td bgcolor="#cccccc" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
</td>
<td bgcolor="#cccccc" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
</td>
</td>
</tr>
</tr>
<!-- Attribute -->
<!-- Attribute Group -->
<!-- Attribute Group -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">nonProxyHosts</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">nonproxyh osts</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
A list of hosts to bypass the proxy on. These should be separated
with the vertical bar character '|'. Only in Java 1.4 does ftp use
this list.
e.g. fozbot.corp.sun.com|*.eng.sun.com.
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">A list of hosts to bypass the proxy on. These should be separated with the vertical bar character '|'. Only in Java 1.4 does ftp use this list. e.g. fozbot.corp.sun.com|*.eng.sun.com</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left" rowspan="7">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
</td>
</tr>
</tr>
<!-- Attribute -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyH ost</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyh ost</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
the HTTP/ftp proxy host. Set this to "" for the http proxy
option to be disabled
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">the HTTP/ftp proxy host. Set this to "" for the http proxy option to be disabled</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
@@ -128,13 +113,10 @@
<!-- Attribute -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyP assword</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyp assword</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Set the password for the proxy. Used only if the proxyUser is set.<br>
<em>since Ant 1.6</em>
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the password for the proxy. Used only if the proxyUser is set.</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
@@ -143,12 +125,10 @@
<!-- Attribute -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyP ort</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyp ort</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
the HTTP/ftp proxy port number; default is 80
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">the HTTP/ftp proxy port number; default is 80</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">int</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">int</font>
@@ -157,14 +137,10 @@
<!-- Attribute -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyU ser</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">proxyu ser</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
set the proxy user. Probably requires a password to accompany this
setting. Default=""<br>
<em>since Ant 1.6</em>
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">set the proxy user. Probably requires a password to accompany this setting. Default=""</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
@@ -173,13 +149,10 @@
<!-- Attribute -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">socksProxyH ost</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">socksproxyh ost</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
The name of a Socks server. Set to "" to turn socks
proxying off.
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">The name of a Socks server. Set to "" to turn socks proxying off.</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
@@ -188,18 +161,17 @@
<!-- Attribute -->
<!-- Attribute -->
<tr>
<tr>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">socksProxyP ort</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">socksproxyp ort</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Set the ProxyPort for socks connections. The default value is 1080
</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the ProxyPort for socks connections. The default value is 1080</font>
</td>
</td>
<td bgcolor="#eeeeee" valign="top" align="left">
<td bgcolor="#eeeeee" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">int</font>
<font color="#000000" size="-1" face="arial,helvetica,sanserif">int</font>
</td>
</td>
</tr>
</tr>
</table>
</table>
</blockquote></td></tr>
</blockquote></td></tr>
@@ -239,7 +211,7 @@
<tr>
<tr>
<td>
<td>
<div align="center"><font color="#525D76" size="-1"><em>
<div align="center"><font color="#525D76" size="-1"><em>
Copyright © 2002 -2003, Apache Software Foundation
Copyright © 2000 -2003, Apache Software Foundation
</em></font></div>
</em></font></div>
</td>
</td>
</tr>
</tr>