Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse IDE: install set of plugins

I have a set of favorite Eclipse plugins, that I need to install every time I install new Eclipse. I would also like to have a way to install all those plugins in [semi-]automated way for my team Eclipse. Or give them recommended Eclipse plugins list, and let them do two-clicks installation on when-needed basis.

How to install set of plugins (with different update sites) quickly?

UPDATE: There are a lot of ways doing that, and I want to aggregate knowledge. There were at least 2 similar questions on stackoverflow.com with different suggestions. And it was 2-3 years ago.
How does one automate configuration of Eclipse?
Boostrapping new Eclipse machines with all the Plugins

Now the best solution seems to be proposed by Bananeweizen at 2013-3-20 (File -> Export -> Install -> Software Items to file)

like image 263
Paul Verest Avatar asked Mar 18 '13 14:03

Paul Verest


People also ask

Where are all settings stored by the various plugins in Eclipse?

Preferences are stored in the workspace of your application in the . metadata/. plugins/org. eclipse.

Where are Eclipse Marketplace plugins installed?

See https://marketplace.eclipse.org/content/darkest-dark-theme-devstyle. The Marketplace Client and Eclipse plug-ins will be installed in your home . idl directory.


2 Answers

As said by Bananeweizen at 2013-3-20

Use (File -> Export -> Install -> Software Items to file) to prepare plugin list file (*.p2f), then

(File -> Import -> Install Software Items from File)

I have assembled Eclipse Node.js IDE this way, see Enide - Eclipse Node.JS IDE

enter image description here

UPDATE: This however ran into bug in Eclipse Kepler

WARNING: Not so good in Kepler: There are 2 bug in Eclipse 4.3 Kepler, that may make "File -> Import \ Install" usage not comfortable.

Please help to get Kepler bugs fixed by voting on these 2 bugs (you should be registered on dev.eclipse.org and logged in).

  • Bug 409685 - [Remediation] Eclipse 4.3 Kepler - Installation Remediation fails; no opt-out https://bugs.eclipse.org/bugs/show_bug.cgi?id=409685
  • Bug 409802 - [import/export] Installation Remediation DOES NOT respect selected item in File-> Import .. -> Install Software Items from File "Import Software Configuration" Dialog https://bugs.eclipse.org/bugs/show_bug.cgi?id=409802
like image 181
Paul Verest Avatar answered Oct 25 '22 03:10

Paul Verest


Follow these steps.

  • Unzip Eclipse into a working directory.
  • Install plug-ins, one at a time, testing to make sure a plug-in hasn't corrupted your Eclipse.
  • When you've finished installing and testing, zip your working directory into a new Eclipse zip file.
  • Distribute your new Eclipse zip file.
like image 42
Gilbert Le Blanc Avatar answered Oct 25 '22 03:10

Gilbert Le Blanc