You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/08/15 15:11:08 UTC

DO NOT REPLY [Bug 36174] - Consider enabling java.net.useSystemProxies by default

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36174>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36174


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Target Milestone|---                         |1.7




------- Additional Comments From stevel@apache.org  2005-08-15 15:11 -------
As the author of setproxy, I am somewhat disappointed by the use of "horrible"
as an adjective. Unsatisfactory, would be more appropriate :) It does at least
let you write build files that use <isreachable> (ant1.7) to check for proxies
being there before trying to connect to them, which is something that laptop
users will appreciate. 

Returning to the system property, yes, this does seem a good idea by default.

But

-we need a way of turning it off, a --noproxy option. 

-I wonder what the effects of running Ant under an IDE will be. If it is only
read at the start of the JVM URL classes, then by the time that it gets to Ant
it is probably too late. does this mean that we shouldnt do it? No. I just dont
want to break the IDE itself by unexpectedly fidding with proxy settings.

Proposal
-we turn this on in ant main
-the --noproxy option will skip this. 
-we document proxy setup in ant properly; that is, how to use ANT_OPTS,  the
--noproxy command and the java1.5 stuff
-ant diagnostics adds proxy configuration diagnostics.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org