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
         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