HI Remy,
but this means that proxy.use=off also true and proxy is set.
I think we can better use the following code:
<target name="proxyflags">
<!-- check proxy parameters. -->
<condition property="useproxy">
<equals arg1="${proxy.use}" arg2="on" />
</condition>
</target>
<target name="setproxy" depends="proxyflags" if="useproxy">
At tomcat 5.5 the proxyflags dependencies also missing.
Regards
Peter
Am 06.04.2007 um 14:26 schrieb [EMAIL PROTECTED]:
Author: remm
Date: Fri Apr 6 05:26:16 2007
New Revision: 526133
URL: http://svn.apache.org/viewvc?view=rev&rev=526133
Log:
- Fix variable.
Modified:
tomcat/tc6.0.x/trunk/build.xml
Modified: tomcat/tc6.0.x/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?
view=diff&rev=526133&r1=526132&r2=526133
======================================================================
========
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Fri Apr 6 05:26:16 2007
@@ -517,7 +517,7 @@
</target>
<!-- Download and dependency building -->
- <target name="setproxy" if="useproxy">
+ <target name="setproxy" if="proxy.use">
<taskdef name="setproxy"
classname="org.apache.tools.ant.taskdefs.optional.net.SetProxy" />
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]