I am not familiar with proxies too but I have taken a quick look at the
source of PluginUtil.java and it seems that there should be a parameters
that is used to pass proxy info to DefaultHttpClient
There are any other place in the source where DefaultHttpClient is used?
Bye.
Giancarlo Pioli
On Thu, Sep 29, 2011 at 6:53 AM, Lincoln Baxter, III <
lincolnbaxter(a)gmail.com> wrote:
Sorry for the late reply. This is a tough question, copying
Forge-dev.
I'm not too familiar with using proxies, but I assume we'd need to make
some changes to support that. Not exactly sure what would need to happen.
Do you have ideas for this?
~Lincoln
On Tue, Sep 20, 2011 at 4:27 AM, Giancarlo Pioli <gcpioli(a)gmail.com>wrote:
> Hi everybody,
>
> I am using forge 1.0.0 SNAPSHOT on Ubuntu 10.04 with java build
> 1.6.0_26-b03.
> I am behind a proxy so I have tried to configure forge to use them. I
> have tried setting FORGE_OPTS to "-Dhttp.proxyHost=localhost
> -Dhttp.proxyPort=3128" but I have got this error:
>
> [no project] giancarlo $ forge find-plugin jsf
> Connecting to remote repository [
>
http://seamframework.org/service/File/148617]... ***ERROR*** [forge find-plugin]
> No route to host
>
> So I have tried to configure the jvm to use the system proxies
> (java.net.useSystemProxies=true on config file
> /etc/java-6-sun/net.properties) but if I try to find the plugins the console
> seems to hang and even using ctrl+c doesn't quit forge. The only thing I
> can do is close the terminal window:
>
> giancarlo@gp-fs:~$ forge
> ____ _____
> / ___| ___ __ _ _ __ ___ | ___|__ _ __ __ _ ___
> \___ \ / _ \/ _` | '_ ` _ \ | |_ / _ \| '__/ _` |/ _ \ \\
> ___) | __/ (_| | | | | | | | _| (_) | | | (_| | __/ //
> |____/ \___|\__,_|_| |_| |_| |_| \___/|_| \__, |\___|
> |___/
> [no project] giancarlo $ forge find-plugin jsf
> Connecting to remote repository [
>
http://seamframework.org/service/File/148617]... ^C
> [no project] giancarlo $ ^C
> [no project] giancarlo $ ^C
> [no project] giancarlo $
>
>
> The same thing happens if I set explicitly the http/https proxy server and
> proxy port properties.
>
> Is
> Thank you.
>
> Giancarlo Pioli
>
> _______________________________________________
> forge-users mailing list
> forge-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/forge-users
>
>
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"