using gump from behind a proxy

Steven Noels <[email protected]>
Newsgroups gmane.comp.jakarta.alexandria.devel
Organization Outerthought
Message-ID <[email protected]>
... doesn't work since JVM arguments do not trickle down to the Jenny 
invocation.

Must be more of an Ant question, but here goes anyhow:

setting ANT_OPTS=-Dhttp.proxyHost=proxy.pandora.be -Dhttp.proxyPort=8080

nor

ant -Dhttp.proxyHost=proxy.pandora.be -Dhttp.proxyPort=8080 xref

is doing anything meaningfull:

gen:
      [java] Failed to expand module with href 
http://cvs.apache.org/viewcvs/~checkout~/jakarta-ant-myrmidon/gump.xml bec
ause of exception java.net.ConnectException: Connection timed out: connect

I patched my local copy accordingly, but there must be some better way?

Index: proposal/gump/build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-alexandria/proposal/gump/build.xml,v
retrieving revision 1.11
diff -u -r1.11 build.xml
--- proposal/gump/build.xml	29 Nov 2002 09:47:25 -0000	1.11
+++ proposal/gump/build.xml	11 Dec 2002 23:14:04 -0000
@@ -42,6 +42,8 @@
    <!-- Merge the xml sources, resolving references -->
    <target name="gen" depends="compile" unless="uptodate">
      <java classname="Jenny" fork="yes" failonerror="true" 
classpath="jenny.jar">
+      <jvmarg value="-Dhttp.proxyHost=proxy.pandora.be"/>
+      <jvmarg value="-Dhttp.proxyPort=8080"/>
        <arg value="${workspace}"/>
      </java>
    </target>

Unsetting the fork attribute doesn't help neither.

Using Ant 1.5 on W2K.

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.