Yes, have a look at the ant documentation. You have to set a proxy in the ant 
build file, like this.

<project....>
 <setproxy proxyhost="192.168.." proxyport="8080" 
nonproxyhosts="mylocalhosts,..."/>

 ...
</project>

Is UnknownHostException really a Proxy problem or a DNS problem?...

> -----Ursprüngliche Nachricht-----
> Von: Naveen Murthy [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 16. Januar 2006 16:18
> An: torque-user@db.apache.org
> Betreff: using Ant based Torque generator while going thro a 
> HTTP PROXY 
> 
> 
> hello;
> 
> im using ANT based  torque-gen-3.2  for generating Java Peer 
> files. It works fine when im directly connected to the network.
> 
> but when im connecting to net via a PROXY server, the 
> generator fails using " java.net.UnknownHostException: db.apache.org"
> 
> Is there way or an OPTION to indicate the presense of a PROXY server?
> 
> thanks!
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to