[ 
http://jira.codehaus.org/browse/MSELENIUM-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=154562#action_154562
 ] 

Jérémy Sevellec commented on MSELENIUM-38:
------------------------------------------

I've got the same need but with all the http proxy properties to set:
- I have to define a proxy port
- I have to define a proxy host
but I have to define non proxy hosts too!

(there is some features behind an enterprise proxy and other in the local 
network on local domains).

It gives something like this :

java -Dhttp.proxyHost=enterprise.proxy.com  -Dhttp.proxyPort=XXXX 
-Dhttp.nonProxyHosts="*.localdomain.com|localhost" -jar selenium-server.jar 
-avoidProxy 

I've patched the patch :-) to add the -Dhttp.nonProxyHosts in 
StartServerMojo.groovy (file is atteched too).

Jérémy



> Start Selenium Server with a Proxy via System Properties
> --------------------------------------------------------
>
>                 Key: MSELENIUM-38
>                 URL: http://jira.codehaus.org/browse/MSELENIUM-38
>             Project: Maven 2.x Selenium Plugin
>          Issue Type: New Feature
>          Components: start-server
>    Affects Versions: 1.0-rc-1
>            Reporter: Dieter Tengelmann
>            Assignee: Jason Dillon
>             Fix For: 1.0-rc-1
>
>         Attachments: StartServerMojo.groovy
>
>
> We can access our testsystem only via a proxy, so we must start the 
> selenium-server something like this:
> java -Dhttp.proxyHost=myproxy.mydomain.com -Dhttp.proxyPort=8080 
> selenium-server.jar
> with this call the created proxy.pac looks like this:
> {noformat}
> function FindProxyForURL(url, host) {
>         return 'PROXY localhost:4444; PROXY myproxy.mydomain.com:8080';
> }
> {noformat}
> I've patched the plugin on my machine via adding new parameters proxyHost and 
> proxyPort and adding the properties via jvmarg to the ant-java call in 
> StartServerMojo.groovy (file is attached), so I can switch easiliy via maven 
> profile from proxy to live-system
> could you please add this to the plugin

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to