Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Updating a feature from a local update site with command line Update Manager (no internet connection
Updating a feature from a local update site with command line Update Manager (no internet connection [message #334551] Tue, 17 February 2009 12:34 Go to next message
Blazej Kroll is currently offline Blazej KrollFriend
Messages: 10
Registered: July 2009
Junior Member
Hello!
I am trying to update a feature from a local update site (I unzipped a
previously downloaded site) using headless Update Manger (I am using
Eclipse 3.2.2 and am not able to change that right now).

I installed a feature in headless mode from locally created update site
with:

java -cp startup.jar org.eclipse.core.launcher.Main -application
org.eclipse.update.core.standaloneUpdate -command install -from
file:///c:/UPSITE/myfeature_7.0.1.D071219 -featureId
com.myfeature.feature -version 7.0.1.D071219

Now, when I like to use the update command of headless update manager I
run into error. I unzip the new version of the feature to the previously
used local directory and run update (note that I do not have an Internet
connection)

java -cp startup.jar org.eclipse.core.launcher.Main -application
org.eclipse.update.core.standaloneUpdate -command update -featureId
com.myfeature.feature -version 7.0.1.D080604

Then it results in the following error:

Connection failed.
Command failed.

Is such a scenario doable with update manager? Does it require an
Internet connection for updating properly or is it a bug?

Would really appreciate your help,
Blazej Kroll
Re: Updating a feature from a local update site with command line Update Manager (no internet connec [message #334620 is a reply to message #334551] Fri, 20 February 2009 15:21 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

To update to the new version of the feature, you need to have it in an
update site (from a local extracted zip is fine) ... do you, or do you
just have a zip with the feature and plugin?

Once you have the upgrade feature in a site, you might have to use a
policy file to tell the update manager not to go to the feature's
default update site.

Search for policy file in Help>Help contents


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Context Menu Toggle Command
Next Topic:[JFace] Accelarator doesn not work anymore
Goto Forum:
  


Current Time: Thu Dec 26 19:31:12 GMT 2024

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

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

Back to the top