Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Headless buckminster through a proxy server
Headless buckminster through a proxy server [message #379297] Wed, 20 August 2008 00:33 Go to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
I am running buckminster headless behind a proxy server. However, I cannot
get it to work through the proxy. Specifically, I'd like to run something
like:

C:\> buckminster install
http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
org.eclipse.buckminster.pde.headless.feature

Is there a way to make this command work through a proxy?

Thanks,
-- Scott
Re: Headless buckminster through a proxy server [message #379298 is a reply to message #379297] Wed, 20 August 2008 06:18 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Scott,
Buckminster is using the standard Eclipse update manager (the old one,
not p2 yet) to install things from an update site. If I remember
correctly, it in turn uses the network connection settings available in
the IDE ("Windows -> Preferences -> General -> Network Connections).

In order to make Buckminster headless aware of this setting you'll need
to use a workspace template. I.e. start an Eclipse IDE on a new empty
workspace, define this settings (and others that you may wish to have),
exit the Eclipse instance and create a zip from the workspace.

Whenever you run the install command, unzip this workspace to some
location and point to that location with the -data <location> option.

Regards,
Thomas Hallgren


Scott wrote:
> I am running buckminster headless behind a proxy server. However, I
> cannot get it to work through the proxy. Specifically, I'd like to run
> something like:
>
> C:\> buckminster install
> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
> org.eclipse.buckminster.pde.headless.feature
>
> Is there a way to make this command work through a proxy?
>
> Thanks,
> -- Scott
>
Re: Headless buckminster through a proxy server [message #379299 is a reply to message #379297] Wed, 20 August 2008 06:38 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
Scott wrote:
> I am running buckminster headless behind a proxy server. However, I
> cannot get it to work through the proxy. Specifically, I'd like to run
> something like:
>
> C:\> buckminster install
> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
> org.eclipse.buckminster.pde.headless.feature
>
> Is there a way to make this command work through a proxy?
>
> Thanks,
> -- Scott
>

Hi,

for 3.4 we use following Ant tasks to set UM proxy settings:

<mkdir dir="${osgi.configuration.area}/.settings" />
<propertyfile
file=" ${osgi.configuration.area}/.settings/org.eclipse.core.net.pr efs ">
<entry key="proxyData/HTTPS/host" value="${http.proxyHost}" />
<entry key="proxyData/HTTPS/port" value="${http.proxyPort}" />
<entry key="proxyData/HTTPS/hasAuth" value="false" />
<entry key="proxyData/HTTP/host" value="${http.proxyHost}" />
<entry key="proxyData/HTTP/port" value="${http.proxyPort}" />
<entry key="proxyData/HTTP/hasAuth" value="false" />
<entry key="nonProxiedHosts" value="${http.nonProxyHosts}" />
<entry key="proxiesEnabled" value="${http.proxySet}" />
<entry key="eclipse.preferences.version" value="1" />
</propertyfile>

Cheers
Markus
Re: Headless buckminster through a proxy server [message #381056 is a reply to message #379299] Thu, 13 November 2008 00:02 Go to previous messageGo to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
Thanks Markus, I did find this useful!
-- Scott

Markus Alexander Kuppe wrote:

> Scott wrote:
>> I am running buckminster headless behind a proxy server. However, I
>> cannot get it to work through the proxy. Specifically, I'd like to run
>> something like:
>>
>> C:> buckminster install
>> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>> org.eclipse.buckminster.pde.headless.feature
>>
>> Is there a way to make this command work through a proxy?
>>
>> Thanks,
>> -- Scott
>>

> Hi,

> for 3.4 we use following Ant tasks to set UM proxy settings:

> <mkdir dir="${osgi.configuration.area}/.settings" />
> <propertyfile
> file=" ${osgi.configuration.area}/.settings/org.eclipse.core.net.pr efs ">
> <entry key="proxyData/HTTPS/host" value="${http.proxyHost}" />
> <entry key="proxyData/HTTPS/port" value="${http.proxyPort}" />
> <entry key="proxyData/HTTPS/hasAuth" value="false" />
> <entry key="proxyData/HTTP/host" value="${http.proxyHost}" />
> <entry key="proxyData/HTTP/port" value="${http.proxyPort}" />
> <entry key="proxyData/HTTP/hasAuth" value="false" />
> <entry key="nonProxiedHosts" value="${http.nonProxyHosts}" />
> <entry key="proxiesEnabled" value="${http.proxySet}" />
> <entry key="eclipse.preferences.version" value="1" />
> </propertyfile>

> Cheers
> Markus
Re: Headless buckminster through a proxy server [message #381057 is a reply to message #379298] Thu, 13 November 2008 00:18 Go to previous messageGo to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
Hi Thomas,

My proxy server requires authentication. I can configure the server and
port using the -D parameters described here:
http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00364.html

It's clear that buckminster *is* recognizing the "http.proxyHost" and
"http.proxyPort" properties. However, it is not using the username and
password properties. I've tried them with and without quotes.

I'm using buckminster.product-1.1.0.r09505.zip with the the specific
command:

java -Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxyport>
-Dhttp.proxyUserName=<username> -Dhttp.proxyPassword=<password> -jar
buckminster\startup.jar listsite
http://download.eclipse.org/tools/buckminster/updates

I get a response: [Server returned HTTP response code: "407 Proxy
Authentication Required" for URL:
http://download.eclipse.org/tools/buckminster/updates.]

Also, on a surprising aside, when I downloaded the
buckminster.archivedsite-1.1.0.r09616.zip , unzipped it, and then pointed
to it in order to install the updates locally. Buckminster still tries to
access the mirror URL -- so, I cannot even install those features (without
tampering with the site.xml file).

Any help would be greatly appreciated!

Thank you,
-- Scott


Thomas Hallgren wrote:

> Hi Scott,
> Buckminster is using the standard Eclipse update manager (the old one,
> not p2 yet) to install things from an update site. If I remember
> correctly, it in turn uses the network connection settings available in
> the IDE ("Windows -> Preferences -> General -> Network Connections).

> In order to make Buckminster headless aware of this setting you'll need
> to use a workspace template. I.e. start an Eclipse IDE on a new empty
> workspace, define this settings (and others that you may wish to have),
> exit the Eclipse instance and create a zip from the workspace.

> Whenever you run the install command, unzip this workspace to some
> location and point to that location with the -data <location> option.

> Regards,
> Thomas Hallgren


> Scott wrote:
>> I am running buckminster headless behind a proxy server. However, I
>> cannot get it to work through the proxy. Specifically, I'd like to run
>> something like:
>>
>> C:> buckminster install
>> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>> org.eclipse.buckminster.pde.headless.feature
>>
>> Is there a way to make this command work through a proxy?
>>
>> Thanks,
>> -- Scott
>>
Re: Headless buckminster through a proxy server [message #381059 is a reply to message #381057] Thu, 13 November 2008 00:47 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Scott,
Can you try something similar to this:

java -Dhttp.proxyHost=http://username:password@your.host/ -Dhttp.proxyPort=<proxyport>

Regards,
Thomas Hallgren

Scott Hendrickson wrote:
> Hi Thomas,
>
> My proxy server requires authentication. I can configure the server and
> port using the -D parameters described here:
> http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00364.html
>
> It's clear that buckminster *is* recognizing the "http.proxyHost" and
> "http.proxyPort" properties. However, it is not using the username and
> password properties. I've tried them with and without quotes.
> I'm using buckminster.product-1.1.0.r09505.zip with the the specific
> command:
>
> java -Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxyport>
> -Dhttp.proxyUserName=<username> -Dhttp.proxyPassword=<password> -jar
> buckminster\startup.jar listsite
> http://download.eclipse.org/tools/buckminster/updates
>
> I get a response: [Server returned HTTP response code: "407 Proxy
> Authentication Required" for URL:
> http://download.eclipse.org/tools/buckminster/updates.]
>
> Also, on a surprising aside, when I downloaded the
> buckminster.archivedsite-1.1.0.r09616.zip , unzipped it, and then
> pointed to it in order to install the updates locally. Buckminster still
> tries to access the mirror URL -- so, I cannot even install those
> features (without tampering with the site.xml file).
> Any help would be greatly appreciated!
>
> Thank you,
> -- Scott
>
>
> Thomas Hallgren wrote:
>
>> Hi Scott,
>> Buckminster is using the standard Eclipse update manager (the old one,
>> not p2 yet) to install things from an update site. If I remember
>> correctly, it in turn uses the network connection settings available
>> in the IDE ("Windows -> Preferences -> General -> Network Connections).
>
>> In order to make Buckminster headless aware of this setting you'll
>> need to use a workspace template. I.e. start an Eclipse IDE on a new
>> empty workspace, define this settings (and others that you may wish to
>> have), exit the Eclipse instance and create a zip from the workspace.
>
>> Whenever you run the install command, unzip this workspace to some
>> location and point to that location with the -data <location> option.
>
>> Regards,
>> Thomas Hallgren
>
>
>> Scott wrote:
>>> I am running buckminster headless behind a proxy server. However, I
>>> cannot get it to work through the proxy. Specifically, I'd like to
>>> run something like:
>>>
>>> C:> buckminster install
>>> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>>> org.eclipse.buckminster.pde.headless.feature
>>>
>>> Is there a way to make this command work through a proxy?
>>>
>>> Thanks,
>>> -- Scott
>>>
>
>
Re: Headless buckminster through a proxy server [message #381060 is a reply to message #381057] Thu, 13 November 2008 00:52 Go to previous messageGo to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
(Oh, I forgot to mention that I did try using a workspace that works
within eclipse as well. I can get through the proxy within Eclipse. It's
just from headless buckminster that I'm having problems -- Scott)

Scott Hendrickson wrote:

> Hi Thomas,

> My proxy server requires authentication. I can configure the server and
> port using the -D parameters described here:
>
http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00364.html

> It's clear that buckminster *is* recognizing the "http.proxyHost" and
> "http.proxyPort" properties. However, it is not using the username and
> password properties. I've tried them with and without quotes.

> I'm using buckminster.product-1.1.0.r09505.zip with the the specific
> command:

> java -Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxyport>
> -Dhttp.proxyUserName=<username> -Dhttp.proxyPassword=<password> -jar
> buckminsterstartup.jar listsite
> http://download.eclipse.org/tools/buckminster/updates

> I get a response: [Server returned HTTP response code: "407 Proxy
> Authentication Required" for URL:
> http://download.eclipse.org/tools/buckminster/updates.]

> Also, on a surprising aside, when I downloaded the
> buckminster.archivedsite-1.1.0.r09616.zip , unzipped it, and then pointed
> to it in order to install the updates locally. Buckminster still tries to
> access the mirror URL -- so, I cannot even install those features (without
> tampering with the site.xml file).

> Any help would be greatly appreciated!

> Thank you,
> -- Scott


> Thomas Hallgren wrote:

>> Hi Scott,
>> Buckminster is using the standard Eclipse update manager (the old one,
>> not p2 yet) to install things from an update site. If I remember
>> correctly, it in turn uses the network connection settings available in
>> the IDE ("Windows -> Preferences -> General -> Network Connections).

>> In order to make Buckminster headless aware of this setting you'll need
>> to use a workspace template. I.e. start an Eclipse IDE on a new empty
>> workspace, define this settings (and others that you may wish to have),
>> exit the Eclipse instance and create a zip from the workspace.

>> Whenever you run the install command, unzip this workspace to some
>> location and point to that location with the -data <location> option.

>> Regards,
>> Thomas Hallgren


>> Scott wrote:
>>> I am running buckminster headless behind a proxy server. However, I
>>> cannot get it to work through the proxy. Specifically, I'd like to run
>>> something like:
>>>
>>> C:> buckminster install
>>>
http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>>> org.eclipse.buckminster.pde.headless.feature
>>>
>>> Is there a way to make this command work through a proxy?
>>>
>>> Thanks,
>>> -- Scott
>>>
Re: Headless buckminster through a proxy server [message #381061 is a reply to message #381059] Thu, 13 November 2008 01:00 Go to previous messageGo to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
Sure. I get a [Premature end of file.] exception (this is the same
exception I get if I do not specify the proxy setting at all -- so, I
assume that it means that the proxy is not being used).

I actually haven't been able to get an authentication error if I use
"http://" as part of the proxyHost property. It seems that adding the
"http://" property causes the property to be ignored altogether. (Or maybe
at least assumes the port is 80, but for me it's 8080)

I've also tried -Dhttp.proxyHost=http://username:password@your.host:port/

The only time I get the authentication error is when I use the proxy host
in a bare format (i.e., without "http://").

-- Scott


Thomas Hallgren wrote:

> Hi Scott,
> Can you try something similar to this:

> java -Dhttp.proxyHost=http://username:password@your.host/
-Dhttp.proxyPort=<proxyport>

> Regards,
> Thomas Hallgren

> Scott Hendrickson wrote:
>> Hi Thomas,
>>
>> My proxy server requires authentication. I can configure the server and
>> port using the -D parameters described here:
>>
http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00364.html
>>
>> It's clear that buckminster *is* recognizing the "http.proxyHost" and
>> "http.proxyPort" properties. However, it is not using the username and
>> password properties. I've tried them with and without quotes.
>> I'm using buckminster.product-1.1.0.r09505.zip with the the specific
>> command:
>>
>> java -Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxyport>
>> -Dhttp.proxyUserName=<username> -Dhttp.proxyPassword=<password> -jar
>> buckminsterstartup.jar listsite
>> http://download.eclipse.org/tools/buckminster/updates
>>
>> I get a response: [Server returned HTTP response code: "407 Proxy
>> Authentication Required" for URL:
>> http://download.eclipse.org/tools/buckminster/updates.]
>>
>> Also, on a surprising aside, when I downloaded the
>> buckminster.archivedsite-1.1.0.r09616.zip , unzipped it, and then
>> pointed to it in order to install the updates locally. Buckminster still
>> tries to access the mirror URL -- so, I cannot even install those
>> features (without tampering with the site.xml file).
>> Any help would be greatly appreciated!
>>
>> Thank you,
>> -- Scott
>>
>>
>> Thomas Hallgren wrote:
>>
>>> Hi Scott,
>>> Buckminster is using the standard Eclipse update manager (the old one,
>>> not p2 yet) to install things from an update site. If I remember
>>> correctly, it in turn uses the network connection settings available
>>> in the IDE ("Windows -> Preferences -> General -> Network Connections).
>>
>>> In order to make Buckminster headless aware of this setting you'll
>>> need to use a workspace template. I.e. start an Eclipse IDE on a new
>>> empty workspace, define this settings (and others that you may wish to
>>> have), exit the Eclipse instance and create a zip from the workspace.
>>
>>> Whenever you run the install command, unzip this workspace to some
>>> location and point to that location with the -data <location> option.
>>
>>> Regards,
>>> Thomas Hallgren
>>
>>
>>> Scott wrote:
>>>> I am running buckminster headless behind a proxy server. However, I
>>>> cannot get it to work through the proxy. Specifically, I'd like to
>>>> run something like:
>>>>
>>>> C:> buckminster install
>>>>
http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>>>> org.eclipse.buckminster.pde.headless.feature
>>>>
>>>> Is there a way to make this command work through a proxy?
>>>>
>>>> Thanks,
>>>> -- Scott
>>>>
>>
>>
Re: Headless buckminster through a proxy server [message #381088 is a reply to message #381061] Fri, 14 November 2008 23:46 Go to previous messageGo to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
It seems that buckminster headless is ignoring any proxy and any
username/password settings normally stored in eclipse.

For example, I see that proxy and username/password information is stored
in the following files within the eclipse installation folder:
* ${eclipse.home}/configuration/.settings/org.eclipse.core.net .prefs
* ${eclipse.home}/configuration/org.eclipse.core.runtime/.keyr ing

To verify this, if I create a new installation of eclipse and copy these
files over, the proxy information is correct, the username/password for
the proxy is correct. Furthermore, the username/password for the svn
repositories seems to be stored in the keyring file as well. For example,
when I add a repository to a server requiring authentication, I am not
prompted for a username/password, and I am able to access the files, if I
copied the .keyring file in to the eclipse installation. From that
installation, I can resolve the queries, access an rmap (cx:
http://206.191.52.50/newsportal/article.php?id=575&group =eclipse.tools.buckminster#575
) etc.

If I copy these files in to the buckminster headless installation, or try
to specify them on the command line (or even specify them directly in the
rmap file -- in the case of the svn repository) buckminster continually
fails to authenticate. This is true if I use the same workspace as well.

So, it seems that buckminster is not using authentication information for
the proxy, or for subversion repositories, or for general url access (in
the case of the RMAP -- which is in the svn repository).

Hopefully this info will help in diagnosing the problem?

I'm using
* eclipse-SDK-3.4.1-win32.zip
* buckminster.product-1.1.0.r09505.zip
* buckminster.archivedsite-1.1.0.r09636.zip
* org.eclipse.buckminster.subclipse.headless.feature

-- Scott


Scott Hendrickson wrote:

> Sure. I get a [Premature end of file.] exception (this is the same
> exception I get if I do not specify the proxy setting at all -- so, I
> assume that it means that the proxy is not being used).

> I actually haven't been able to get an authentication error if I use
> "http://" as part of the proxyHost property. It seems that adding the
> "http://" property causes the property to be ignored altogether. (Or maybe
> at least assumes the port is 80, but for me it's 8080)

> I've also tried -Dhttp.proxyHost=http://username:password@your.host:port/

> The only time I get the authentication error is when I use the proxy host
> in a bare format (i.e., without "http://").

> -- Scott


> Thomas Hallgren wrote:

>> Hi Scott,
>> Can you try something similar to this:

>> java -Dhttp.proxyHost=http://username:password@your.host/
> -Dhttp.proxyPort=<proxyport>

>> Regards,
>> Thomas Hallgren

>> Scott Hendrickson wrote:
>>> Hi Thomas,
>>>
>>> My proxy server requires authentication. I can configure the server and
>>> port using the -D parameters described here:
>>>
>
http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00364.html
>>>
>>> It's clear that buckminster *is* recognizing the "http.proxyHost" and
>>> "http.proxyPort" properties. However, it is not using the username and
>>> password properties. I've tried them with and without quotes.
>>> I'm using buckminster.product-1.1.0.r09505.zip with the the specific
>>> command:
>>>
>>> java -Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxyport>
>>> -Dhttp.proxyUserName=<username> -Dhttp.proxyPassword=<password> -jar
>>> buckminsterstartup.jar listsite
>>> http://download.eclipse.org/tools/buckminster/updates
>>>
>>> I get a response: [Server returned HTTP response code: "407 Proxy
>>> Authentication Required" for URL:
>>> http://download.eclipse.org/tools/buckminster/updates.]
>>>
>>> Also, on a surprising aside, when I downloaded the
>>> buckminster.archivedsite-1.1.0.r09616.zip , unzipped it, and then
>>> pointed to it in order to install the updates locally. Buckminster still
>>> tries to access the mirror URL -- so, I cannot even install those
>>> features (without tampering with the site.xml file).
>>> Any help would be greatly appreciated!
>>>
>>> Thank you,
>>> -- Scott
>>>
>>>
>>> Thomas Hallgren wrote:
>>>
>>>> Hi Scott,
>>>> Buckminster is using the standard Eclipse update manager (the old one,
>>>> not p2 yet) to install things from an update site. If I remember
>>>> correctly, it in turn uses the network connection settings available
>>>> in the IDE ("Windows -> Preferences -> General -> Network Connections).
>>>
>>>> In order to make Buckminster headless aware of this setting you'll
>>>> need to use a workspace template. I.e. start an Eclipse IDE on a new
>>>> empty workspace, define this settings (and others that you may wish to
>>>> have), exit the Eclipse instance and create a zip from the workspace.
>>>
>>>> Whenever you run the install command, unzip this workspace to some
>>>> location and point to that location with the -data <location> option.
>>>
>>>> Regards,
>>>> Thomas Hallgren
>>>
>>>
>>>> Scott wrote:
>>>>> I am running buckminster headless behind a proxy server. However, I
>>>>> cannot get it to work through the proxy. Specifically, I'd like to
>>>>> run something like:
>>>>>
>>>>> C:> buckminster install
>>>>>
> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>>>>> org.eclipse.buckminster.pde.headless.feature
>>>>>
>>>>> Is there a way to make this command work through a proxy?
>>>>>
>>>>> Thanks,
>>>>> -- Scott
>>>>>
>>>
>>>
Re: Headless buckminster through a proxy server [message #381326 is a reply to message #381088] Wed, 26 November 2008 00:11 Go to previous message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 69
Registered: July 2009
Member
I've figured out workarounds for every issue (as noted in other threads)
except for how to get through a proxy that requires authentication. Is
there any chance this could get fixed? Everything works within eclipse,
but not headlessly.

So, what I'm doing now:
- Initializing buckminster and installing features on a separate computer
that doesn't have to use the proxy, then moving it to the proxied computer
- Using subversive (authentication works for that, but not for subclipse)
- Downloading the rmap manually and modifying the link in the cquery so
that it points to the manually downloaded rmap file (the rmap is the an
svn repository that requires authentication)

But, I cannot get through the proxy when resolving my source code. Until
proxy authentication works, I'm stuck. * sob, sob, :) *

-- Scott


Scott Hendrickson wrote:

> It seems that buckminster headless is ignoring any proxy and any
> username/password settings normally stored in eclipse.

> For example, I see that proxy and username/password information is stored
> in the following files within the eclipse installation folder:
> * ${eclipse.home}/configuration/.settings/org.eclipse.core.net .prefs
> * ${eclipse.home}/configuration/org.eclipse.core.runtime/.keyr ing

> To verify this, if I create a new installation of eclipse and copy these
> files over, the proxy information is correct, the username/password for
> the proxy is correct. Furthermore, the username/password for the svn
> repositories seems to be stored in the keyring file as well. For example,
> when I add a repository to a server requiring authentication, I am not
> prompted for a username/password, and I am able to access the files, if I
> copied the .keyring file in to the eclipse installation. From that
> installation, I can resolve the queries, access an rmap (cx:
>
http://206.191.52.50/newsportal/article.php?id=575&group =eclipse.tools.buckminster#575
> ) etc.

> If I copy these files in to the buckminster headless installation, or try
> to specify them on the command line (or even specify them directly in the
> rmap file -- in the case of the svn repository) buckminster continually
> fails to authenticate. This is true if I use the same workspace as well.

> So, it seems that buckminster is not using authentication information for
> the proxy, or for subversion repositories, or for general url access (in
> the case of the RMAP -- which is in the svn repository).

> Hopefully this info will help in diagnosing the problem?

> I'm using
> * eclipse-SDK-3.4.1-win32.zip
> * buckminster.product-1.1.0.r09505.zip
> * buckminster.archivedsite-1.1.0.r09636.zip
> * org.eclipse.buckminster.subclipse.headless.feature

> -- Scott


> Scott Hendrickson wrote:

>> Sure. I get a [Premature end of file.] exception (this is the same
>> exception I get if I do not specify the proxy setting at all -- so, I
>> assume that it means that the proxy is not being used).

>> I actually haven't been able to get an authentication error if I use
>> "http://" as part of the proxyHost property. It seems that adding the
>> "http://" property causes the property to be ignored altogether. (Or maybe
>> at least assumes the port is 80, but for me it's 8080)

>> I've also tried -Dhttp.proxyHost=http://username:password@your.host:port/

>> The only time I get the authentication error is when I use the proxy host
>> in a bare format (i.e., without "http://").

>> -- Scott


>> Thomas Hallgren wrote:

>>> Hi Scott,
>>> Can you try something similar to this:

>>> java -Dhttp.proxyHost=http://username:password@your.host/
>> -Dhttp.proxyPort=<proxyport>

>>> Regards,
>>> Thomas Hallgren

>>> Scott Hendrickson wrote:
>>>> Hi Thomas,
>>>>
>>>> My proxy server requires authentication. I can configure the server and
>>>> port using the -D parameters described here:
>>>>
>>
>
http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00364.html
>>>>
>>>> It's clear that buckminster *is* recognizing the "http.proxyHost" and
>>>> "http.proxyPort" properties. However, it is not using the username and
>>>> password properties. I've tried them with and without quotes.
>>>> I'm using buckminster.product-1.1.0.r09505.zip with the the specific
>>>> command:
>>>>
>>>> java -Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxyport>
>>>> -Dhttp.proxyUserName=<username> -Dhttp.proxyPassword=<password> -jar
>>>> buckminsterstartup.jar listsite
>>>> http://download.eclipse.org/tools/buckminster/updates
>>>>
>>>> I get a response: [Server returned HTTP response code: "407 Proxy
>>>> Authentication Required" for URL:
>>>> http://download.eclipse.org/tools/buckminster/updates.]
>>>>
>>>> Also, on a surprising aside, when I downloaded the
>>>> buckminster.archivedsite-1.1.0.r09616.zip , unzipped it, and then
>>>> pointed to it in order to install the updates locally. Buckminster still
>>>> tries to access the mirror URL -- so, I cannot even install those
>>>> features (without tampering with the site.xml file).
>>>> Any help would be greatly appreciated!
>>>>
>>>> Thank you,
>>>> -- Scott
>>>>
>>>>
>>>> Thomas Hallgren wrote:
>>>>
>>>>> Hi Scott,
>>>>> Buckminster is using the standard Eclipse update manager (the old one,
>>>>> not p2 yet) to install things from an update site. If I remember
>>>>> correctly, it in turn uses the network connection settings available
>>>>> in the IDE ("Windows -> Preferences -> General -> Network Connections).
>>>>
>>>>> In order to make Buckminster headless aware of this setting you'll
>>>>> need to use a workspace template. I.e. start an Eclipse IDE on a new
>>>>> empty workspace, define this settings (and others that you may wish to
>>>>> have), exit the Eclipse instance and create a zip from the workspace.
>>>>
>>>>> Whenever you run the install command, unzip this workspace to some
>>>>> location and point to that location with the -data <location> option.
>>>>
>>>>> Regards,
>>>>> Thomas Hallgren
>>>>
>>>>
>>>>> Scott wrote:
>>>>>> I am running buckminster headless behind a proxy server. However, I
>>>>>> cannot get it to work through the proxy. Specifically, I'd like to
>>>>>> run something like:
>>>>>>
>>>>>> C:> buckminster install
>>>>>>
>> http://download.eclipse.org/tools/buckminster/updates-3.4/he adless-site.xml
>>>>>> org.eclipse.buckminster.pde.headless.feature
>>>>>>
>>>>>> Is there a way to make this command work through a proxy?
>>>>>>
>>>>>> Thanks,
>>>>>> -- Scott
>>>>>>
>>>>
>>>>
Previous Topic:RCP build
Next Topic:How to point BM to a materialized target platform
Goto Forum:
  


Current Time: Thu Apr 25 23:08:30 GMT 2024

Powered by FUDForum. Page generated in 0.03810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top