Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Eclipse store list of update sites? And can it be copied to another installation?

Tags:

eclipse

My Eclipse installation got completely borked and won't start up, so I will likely have to reinstall it (but this is also relevant when upgrading to a new Eclipse version). I want not to have to hunt down all the plugins I had installed. So where does Eclipse store list of available update sites? And if it isn't in plain text, can it be copied into another installation without problems?

like image 628
Alexey Romanov Avatar asked Apr 24 '12 10:04

Alexey Romanov


People also ask

Where are Eclipse extensions stored?

As far as I know, Eclipse stores its plugins in its installation directory ( eclipse ). They might reside in eclipse/plugins or eclipse/dropins . You can copy the whole eclipse directory from your old box.

How do I copy a plugin from one Eclipse to another?

You add the other installed Eclipse as an update site, and you can select the installed plug-in (after unchecking the categorization). Show activity on this post. The folder you reference should have two sub-folders: plugins and features, where you install your plugins.

What is Eclipse update site?

Eclipse Project builds are stored in p2 repositories that are produced as part of the Eclipse project build process. This page provides an overview of the different repositories maintained by the Eclipse project, and their corresponding location and retention policy.


2 Answers

Click on File->Export->Install (Installed Software Items to File)

sorry that I did not notice that your eclipse installation is not working. I don't think there is a direct solution to import the installs from eclipse config files (If you can't export from eclipse). Eclipse stores this configuration in the "articles.xml" files inside "eclipse/configuration/../../...."
e.g on my box I checked here: eclipse/configuration/org.eclipse.osgi/bundles/293/data/-750392822/artifacts.xml There will be many articles.xml files like this. I suggest to find one articles.xml files inside your broken eclipse path and then try importing that in new eclipse by help->install new softeare->(the click on) Available Software Sites->Import and then import these articles.xml files. To be honest, I did not try this, but would like to try this..

like image 73
htulsiani Avatar answered Oct 19 '22 22:10

htulsiani


I don't know where it stores the websites but you can export/import sites from/to eclipse

There is a link like button named "Available Software Sites" on intall update/plugin window. There you can choose all the sites and export those sites and import on another eclipse installlation.

like image 21
fmucar Avatar answered Oct 19 '22 22:10

fmucar