xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vha...@eng.sun.com>
Subject Re: Batik [using http proxy]
Date Mon, 08 Jan 2001 16:35:23 GMT
Bill Haneman wrote:
> 
> Running Batik directly (not from build.sh/ant):
> 
> java -Dhttp.proxyHost=mywebproxyhost -Dhttp.proxyPort=8080
> org.apache.batik.apps.svgviewer.Main
> http://www.zvon.org/xxl/SVGReferenceSVG/Output/intro.svg
> 
> In other words, the URL connection which Batik uses
> recognises the http.proxyHost and http.proxyPort
> properties.
> 
> It would be nice if the build.sh/build.xml files
> (and ant) were modified to allow this to be set in
> the build.xml file, or via environment variables...
> but for the moment, the above should get you what you need.

An additional piece of information: in the svgviewer 
documentation:

http://xml.apache.org/batik/svgviewer.html	

there is a documentation on how to set up your proxy in the 
build.xml rules. They need to be updated with something like:

<java fork="yes"
  classname="${class-prefix}.apps.svgviewer.Main"
  jvmargs="-DproxyHost=firewall.eng.mycompany.com -DproxyPort=8080">
    <classpath>
         <pathelement location="${dest}" />
         <path refid="libs-classpath"/>
         <pathelement location="resources" />
   </classpath>
   <arg value="${args}"/>
</java>

Vincent.
> 
> Best regards,
> 
> -Bill
> 
> ------
> Bill Haneman x19279
> Ireland Desktop Engineering
> Sun Microsystems Ireland Ltd.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org

Mime
View raw message