[ https://issues.apache.org/jira/browse/SHINDIG-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651923#action_12651923
]
chico.charlesworth edited comment on SHINDIG-718 at 11/30/08 11:39 PM:
-----------------------------------------------------------------------
The attached patch (fix-proxy-bug.patch) fixes three things, which are preventing the build
to work from behind a proxy:
- surefire plugin version: the 2.3 version doesn't pass on the proxy system properties on,
so updated to version 2.4.2 and that worked.
- /java/common/conf/shindig.properties: shindig.content-rewrite.proxy-url and shindig.content-rewrite.concat-url
are hardcoded to http://localhost:8080. I had to set them to http://localhost:9003 for EndToEndTest
to work.
- /java/gadgets/src/main/java/org/apache/shindig/gadgets/http/BasicHttpFetcher.java: the
proxyProvider is not null by default (not sure why) but instead it's set to be of Proxy.Type.DIRECT.
I fixed this by doing an extra check to ignore the proxyProvider if it's set to be of Proxy.Type.DIRECT.
was (Author: chico.charlesworth):
The following patch fixes three things:
- surefire plugin version: the 2.3 version doesn't pass on the proxy system properties on,
so updated to version 2.4.2 and that worked.
- /java/common/conf/shindig.properties: shindig.content-rewrite.proxy-url and shindig.content-rewrite.concat-url
are hardcoded to http://localhost:8080. I had to set them to http://localhost:9003 for EndToEndTest
to work.
- /java/gadgets/src/main/java/org/apache/shindig/gadgets/http/BasicHttpFetcher.java: the
proxyProvider is not null by default (not sure why) but instead it's set to be of Proxy.Type.DIRECT.
I fixed this by doing an extra check to ignore the proxyProvider if it's set to be of Proxy.Type.DIRECT.
> Building shindig from behind a proxy fails
> ------------------------------------------
>
> Key: SHINDIG-718
> URL: https://issues.apache.org/jira/browse/SHINDIG-718
> Project: Shindig
> Issue Type: Bug
> Components: Common Components (Java)
> Environment: Behind a proxy
> Reporter: Chico Charlesworth
> Attachments: fix-proxy-bug.patch
>
>
> When the maven build runs behind a proxy the test EndToEndTest.testTemplates() fails.
> i.e. mvn clean install -Dhttp.proxyHost=<host> -Dhttp.proxyPort=<port>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|