Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Re: command line update manager
Re: command line update manager [message #124410] Tue, 13 January 2009 16:34 Go to next message
Eclipse UserFriend
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com

Copying to equinox newsgroup.

Rose wrote:
> I want to run the update manager from the command line and search for
> available features to install.
> I'm able to do this thru GUI interface given the firewall specs, but
> unable to do it thru the command line, and I don't get much of an error
> log.
>
> Here is my command :
> C:\temp_10\eclipse>"c:\program files\java\jdk1.5.0_14\bin\java.exe" -jar
> plugins
> /org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -application
> org.eclip
> se.update.core.standaloneUpdate -command search -from
> http://update.eclemma.org
> Connection error
> Command failed.
>
> Thanks for any help.
> Rose
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: command line update manager [message #126333 is a reply to message #124410] Tue, 24 February 2009 09:12 Go to previous messageGo to next message
David  is currently offline David Friend
Messages: 88
Registered: July 2009
Member
*bump* i see the exact same error.

i am on:

Version: 3.4.1
Build id: M20080911-1700

listing the http.proxy options from the osgi console gave me the correct
settings when starting with -console option. In the GUI i can correctly
access any updatesites via the proxy.

To me it looks like the update manager doesn't load the proxy settings?

can i set those for
org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar?

/Dave
Re: command line update manager [message #126345 is a reply to message #124410] Tue, 24 February 2009 09:25 Go to previous messageGo to next message
David  is currently offline David Friend
Messages: 88
Registered: July 2009
Member
forgot, this works on my local internal updatesite of course, but not when
trying to access it via an proxy.

/Dave
Re: nevermind found the solution [message #126358 is a reply to message #124410] Tue, 24 February 2009 13:39 Go to previous message
David  is currently offline David Friend
Messages: 88
Registered: July 2009
Member
nevermind i found the solution by adding "-Dhttp.proxyHost=proxy
-Dhttp.proxyPort=8080"

ie

"java -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -jar
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819. jar
-application org.eclipse.update.core.standaloneUpdate -command search
-from http://updatesite"

/Dave
Previous Topic:Can't get rid of old bundle version
Next Topic:Loading xml files from jars at the runtime
Goto Forum:
  


Current Time: Thu Apr 25 07:02:30 GMT 2024

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

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

Back to the top