From 71812c8dc2861f7472e84928165f3969705f29c9 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 20 Mar 2007 13:30:24 +0000 Subject: [PATCH] bug id 41904; -autoproxy broken. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@520382 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 8 ++++++-- src/main/org/apache/tools/ant/Main.java | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index 699410db1..a87a249a4 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -54,8 +54,7 @@ Fixed bugs: * did not append. Bugzilla 41399. -* xsl stylesheets allow setting the title used in and <h1> tags by - using <report><param> element. Bugzilla 41742. +* -autoproxy turns Java1.5+ automatic proxy support on. Bugzilla 41904 Other changes: -------------- @@ -88,6 +87,11 @@ Other changes: * Add new <truncate> task. +* <junitreport> xsl stylesheets allow setting the title used in <title> and <h1> tags by + using <report><param> element. Bugzilla 41742. + + + Changes from Ant 1.6.5 to Ant 1.7.0 =================================== diff --git a/src/main/org/apache/tools/ant/Main.java b/src/main/org/apache/tools/ant/Main.java index 4338585c0..bca3c9c53 100644 --- a/src/main/org/apache/tools/ant/Main.java +++ b/src/main/org/apache/tools/ant/Main.java @@ -382,7 +382,7 @@ public class Main implements AntMain { + "the ant script/.bat file and Ant itself."; throw new BuildException(msg); } else if (arg.equals("-autoproxy")) { - proxy = false; + proxy = true; } else if (arg.startsWith("-")) { // we don't have any more args to recognize! String msg = "Unknown argument: " + arg;