From 49f611c10cf584b49e49cca329a18c2d22f1daca Mon Sep 17 00:00:00 2001
From: Steve Loughran
A username and password can be specified, in which case basic 'slightly encoded
-plain text' authentication is used. This is only a secure authentication
-mechanism over an HTTPS link.
+plain text' authentication is used. This is only secure over an HTTPS link.
+
-If you need to go through a firewall, use
-<setproxy>
-to set up the proxy first.
+Proxies. Since Ant1.7, Ant running on Java1.5 or later defaults to
+ using
+ the proxy settings of the operating system. There is also the
+ <setproxy> task for
+ earlier Java versions. With proxies turned on, <get>
requests against
+ localhost may not work as expected, if the request is relayed to the proxy.
+ The -noproxy
option can be used to turn this feature off.
Parameters
diff --git a/docs/manual/CoreTasks/sql.html b/docs/manual/CoreTasks/sql.html
index 9c58dc1a2..b550b750b 100644
--- a/docs/manual/CoreTasks/sql.html
+++ b/docs/manual/CoreTasks/sql.html
@@ -43,6 +43,16 @@ The possible values are: continue execution, only show the error;
stop execution and commit transaction;
and abort execution and transaction and fail task.
+Proxies. Some JDBC drivers (including the Oracle thin driver),
+ use the JVM's proxy settings to route their JDBC operations to the database.
+ Since Ant1.7, Ant running on Java1.5 or later defaults to
+ using
+ the proxy settings of the operating system.
+ Accordingly, the OS proxy settings need to be valid, or Ant's proxy
+ support disabled with -noproxy
option.
+