The current init-proxy target says:- <target name="init-proxy" if="proxy.host"> <property name="proxy.port" value="80"/> <echo>Using proxy : ${proxy.host}:${proxy.port}</echo> <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/> </target>
Would changing it to this be enough or is there more to do :- <target name="init-proxy" if="proxy.host"> <property name="proxy.port" value="80"/> <property name="proxy.user" value=""/> <property name="proxy.password" value=""/> <echo>Using proxy : ${proxy.host}:${proxy.port}</echo> <echo>Using Username : ${proxy.user}:${proxy.password}</echo> <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/> <setproxy proxyuser="${proxy.user}" proxypassword="${proxy.password}"/> </target> After which , proxy.user and proxy.password can then be set in project properties. Gav... ----- Original Message ----- From: "Ross Gardler" <[EMAIL PROTECTED]> To: <dev@forrest.apache.org> Sent: Tuesday, December 13, 2005 3:28 AM Subject: Re: Forrest Proxy Settings | [EMAIL PROTECTED] wrote: | > I see how to set the proxy host and proxy port in the forrest.properties file. | > | > Is it possible to set the proxy username and proxy password as well? | > | > # Sets the proxy host and proxy port | > proxy.host = proxyhost.proxydomain | > proxy.port = 8080 | > | > # I would like to be able to include | > proxy.username = myusername | > proxy.password = myproxypassword | > | > Does anyone know of a good work around or a solution? | | There is currently no known workaround. The solution is to add relevant | properties to the forrest.properties file and use them in them when | connecting. | | The required properties are: | | proxypassword | Set the password for the proxy. Used only if the proxyUser is set. | | proxyuser | Set the proxy user. Probably requires a password to accompany | this setting. Default="" | | Another user reqested this a couple of weeks ago, but was not motivated | enough to implement a solution. Cyriaque Dupoirieux promised to | implement it, but has not, to date, found the time. | | If you want to tackle it then take a look at the init-proxy target in | FORREST_HOME/main/forrest.build.xml | | That is where the existing proxy properties are used. If you are not | familiar with ant then see the manual entry for the setproxy task used: | http://ant.apache.org/manual/OptionalTasks/setproxy.html | | If you don't have the time/inclination to tackle this please raise an | issue on JIRA and add these comments for whoever comes to tackle this. | | Ross | | | -- | No virus found in this incoming message. | Checked by AVG Free Edition. | Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 9/12/2005 | | -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 9/12/2005