[Webtest] [webtest][JIRA] Created: (WT-363) Project Build Fails on Mac if
http.nonProxyHosts Contains Domains
Ron Mellum (JIRA)
Ron Mellum (JIRA)" <noreply@canoo.com
Mon, 10 Dec 2007 18:56:16 +0100 (CET)
Project Build Fails on Mac if http.nonProxyHosts Contains Domains
-----------------------------------------------------------------
Key: WT-363
URL: http://webtest-community.canoo.com/jira/browse/WT-363
Project: WebTest
Type: Bug
Versions: 2.5
Environment: Mac OS 10.4.11 on Intel Mac
ant -version:
Apache Ant version 1.6.5 compiled on July 2 2006
java -version:
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
Reporter: Ron Mellum
Using Build r1641 if there are Hosts and Domains specified in the Proxy bypass settings section of the system preferences, the build of the sample project will fail with a parsing error. The value of http.nonProxyHosts (reference WT-271) contains the host/domain name specified in the System Preferences and a "global" value which is the named value preceded with an "*". The asterisk is causing the parsing error. See below:
[null] INFO (com.canoo.webtest.engine.Configuration) - Surfing with browser 4.0 (compatible; MSIE 6.0; Windows 98)
[null] INFO (com.canoo.webtest.engine.Configuration) - Configuring proxy from http.proxyHost* system properties: www-proxy.us.oracle.com:80
[null] INFO (com.canoo.webtest.engine.Configuration) - Configuring proxy from http.nonProxyHosts system property: testlab.intranetsolutions.com|*.testlab.intranetsolutions.com
BUILD FAILED
/Applications/webtest/build_r1641/webtest.xml:163: The following error occurred while executing this line:
/Applications/webtest/yetanotherProject/tests/allTests.xml:5: The following error occurred while executing this line:
/Applications/webtest/yetanotherProject/tests/googleWebTest.xml:9: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*.testlab.intranetsolutions.com
^
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira