shindig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chico Charlesworth (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SHINDIG-718) Building shindig from behind a proxy fails
Date Mon, 01 Dec 2008 07:38:44 GMT

     [ https://issues.apache.org/jira/browse/SHINDIG-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chico Charlesworth updated SHINDIG-718:
---------------------------------------

    Attachment: fix-proxy-bug.patch

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.


Mime
View raw message