You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mi...@apache.org on 2019/08/05 13:17:54 UTC

[tomcat] 01/01: BZ 63634: Align setproxy target in build.xml with 8.5/9.0

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch BZ-63634
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 371be587b35ebbb6e054f2de1c490d08b124d0f1
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Aug 5 15:17:32 2019 +0200

    BZ 63634: Align setproxy target in build.xml with 8.5/9.0
---
 build.xml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/build.xml b/build.xml
index a0ca308..179e60d 100644
--- a/build.xml
+++ b/build.xml
@@ -2937,14 +2937,7 @@ skip.installer property in build.properties" />
 
   <!-- =============== Utility Targets to support downloads ================ -->
 
-  <target name="proxyflags">
-    <!-- check proxy parameters. -->
-    <condition property="useproxy">
-      <equals arg1="${proxy.use}" arg2="on" />
-    </condition>
-  </target>
-
-  <target name="setproxy" depends="proxyflags" if="useproxy">
+  <target name="setproxy" if="${proxy.use}">
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
               proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
     <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>


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