dims 2003/03/19 11:35:36
Modified: java/xmls targets.xml
Log:
Pass through the proxy parameters...Now Am able to run "ant clean all-tests" on a
Linux 8.0 with JDK 1.3.1_007 from behind a authenticating proxy :)
Revision Changes Path
1.56 +6 -0 xml-axis/java/xmls/targets.xml
Index: targets.xml
===================================================================
RCS file: /home/cvs/xml-axis/java/xmls/targets.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- targets.xml 13 Mar 2003 15:34:19 -0000 1.55
+++ targets.xml 19 Mar 2003 19:35:36 -0000 1.56
@@ -5,6 +5,12 @@
<target name="my-forking-ant">
<echo message="Forking a JVM for target ${target} in file ${file}"/>
<java classname="org.apache.tools.ant.Main" fork="yes" failonerror="true"
dir="${dir}">
+ <!-- Pass through the proxy parameters -->
+ <jvmarg value="-Dhttp.proxyHost=${http.proxyHost}"/>
+ <jvmarg value="-Dhttp.proxyPort=${http.proxyPort}"/>
+ <jvmarg value="-Dhttp.nonProxyHosts=${http.nonProxyHosts}"/>
+ <jvmarg value="-Dhttp.proxyUser=${http.proxyUser}"/>
+ <jvmarg value="-Dhttp.proxyPassword=${http.proxyPassword}"/>
<classpath refid="classpath"/>
<arg line="-buildfile ${file} ${target}"/>
</java>