tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r526196 - /tomcat/tc6.0.x/trunk/extras.xml
Date Fri, 06 Apr 2007 15:22:06 GMT
Author: remm
Date: Fri Apr  6 08:22:06 2007
New Revision: 526196

URL: http://svn.apache.org/viewvc?view=rev&rev=526196
Log:
- Similar flag fix.

Modified:
    tomcat/tc6.0.x/trunk/extras.xml

Modified: tomcat/tc6.0.x/trunk/extras.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/extras.xml?view=diff&rev=526196&r1=526195&r2=526196
==============================================================================
--- tomcat/tc6.0.x/trunk/extras.xml (original)
+++ tomcat/tc6.0.x/trunk/extras.xml Fri Apr  6 08:22:06 2007
@@ -202,7 +202,14 @@
   </target>
 
   <!-- Download and dependency building -->
-  <target name="setproxy"  if="useproxy">
+  <target name="proxyflags">
+    <!-- check proxy parameters. -->
+    <condition property="useproxy">
+      <equals arg1="${proxy.use}" arg2="on" />
+    </condition>
+  </target>
+
+  <target name="setproxy" depends="proxyflags" if="useproxy">
     <taskdef name="setproxy"
             classname="org.apache.tools.ant.taskdefs.optional.net.SetProxy" />
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>



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


Mime
View raw message