Eclipse -- Manually Install Plugin - eclipse

I am trying to migrate from Adacore's GPS to the Eclipse based GNATBench. GNATBench is available here for free download, but is packaged as a zip file. I have only installed Eclipse plugins through the marketplace, or through an online repository. I have tried extracting the folder into the Eclipse plugins folder, but it did not work. How do I install this plugin manually through a zip file? Is there another way of getting it?

Open Help > Install New Software... and click Add (top right).
In the Add Repository dialog that is shown click Archive... and select the zip file you downloaded. Also give the Repository a name. Click OK.
The Available Software dialog should now show you the contents of the zip and you can choose what to install.

Related

How can I download the Eclipse CVS plugin for the Eclipse 20221-09 separate from Eclipse?

I need to add the CVS plugin to a Eclipse install which sits on a machine without Internet access. For this I want to download the CVS plugin on another machine just as a zip file.
But I was not able to find a URL from which I can separately download the CVS plugin for the current Eclipse version Eclipse 2021-09.
Please note: I saw older posts about this topic like "Install the Eclipse CVS plugin without Internet access - Stack Overflow" but all their actual URL information is outdated and I couldn't deduct a current URL for the CVS zip file from this.
Not sure why you can see the actual plug-in directly under the 2021-09 download directory, but you can grab the jar from https://download.eclipse.org/releases/2021-09/202109151000/plugins/org.eclipse.cvs_1.4.1900.v20210906-0500.jar and add it to the dropins folder of your installation.

Eclipse Kepler plugins - Offline Installation

I am trying to install 2 eclipse plugins in offline mode(copy-paste) in Kepler.
I downloaded jenkins & glassfish from update sites in eclipse (lets say Eclipse 1). Later I copied the jenkins plugins (all folders & jars from plugins & features) separately in a folder; similar is done for glassfish.
Installation method - I extracted a fresh eclipse kepler(lets say Eclipse 2), tried to copy paste plugins & features of the Glassfish to my new eclipse. It worked well. But when I copied Jenkins related plugins, Glassfish server option disappeared from Server view.
Please help me to resolve the issue.
Don't extract data from update sites, the features in particular are not in the correct format for direct installation.
Instead open 'Help' > 'Install New Software'. Click 'Add...' on the 'Work with' line. Select 'Archive' on Add Repository dialog that opens and select the update site jar. When you click OK the main install dialog should show you what is available to install.

Offine installation of PMD plugin for Eclipse IDE

I am trying to download and install PMD plugin for Eclipse offline but did not succeed in doing so.
I downloaded following 2 zips:
net.sourceforge.pmd.eclipse-3.2.6.v200903300643.zip (this version matches with the one which I installed online)
pmd-eclipse-1.8.0
Not sure which one to use and how to configure it in Eclipse.
I searched a lot but did not find proper steps for the offine installation and configuration.
In case it contains site archieve:
Goto Help->Install New Software
Click Add...
In the Add Repository Dialog click Archive and point to your zip. Rest of the installation is as you would do with an online installation.
Else:
Extract the zip
Copy all plugins to your target eclipse plugins folder
Copy all features to your target eclipse features folder
launch eclipse with -clean option
You can get the latest 4.0 version of the plugin by pointing your Eclipse installer here:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/

Installing counterclockwise plugin manually

I have given up configuring my proxy settings in eclipse to download plugins. I want to install the counterclockwise plugins to run clojure in eclipse. I can download the jars into my C:\Program Files\EclipseIDE 3.6\dropins. Problem is when I start eclipse I dont have an option to start a new clojure project so I suppose the plugins are not being used.
The plugins I downlaoded are from http://ccw.cgrand.net/updatesite/plugins/. Note I downloaded a single version only.
You still use the Help -> Install New Software... option. Move the jars into a directory that's not part of Eclipse.
On the Install dialog, left click on the Add... button, just as if you were installing software from a web site.
On the Add Repository dialog, to the right of the Location text box, is an Archive... button. Left click that button and point to the non-Eclipse directory where your counterclockwise plug-ins are located.
Perform the rest of the install new software steps to install your jars.
You can install the software manually on eclipse, find a zip file online.
Go to Help > Install New Software > Add > Archive and locate the zip file.
IMPORTANT
Make sure to untick the box "Contact all update sites during install to find required software" because if this is ticked it will give the "HTTP Proxy Authentication Required"
Put the jars into the /eclipse/plugins directory.

Is there a way to upgrade eclipse and keep all the installed plugins?

I found it tedious to reinstall all the plugin every time upgrade the eclipse.
This is the best option I've found so far. Dropins directories work, but they're a pain to maintain, because Eclipse wants to install new plug-ins in the Eclipse directory.
I. To transfer your list of update sites:
Run your old Eclipse one last time
Go to Window->Preferences->Install/Update->Available Software Sites
Select all update sites (click on one, then Ctrl-A), click Export, save the file somewhere
Run your new Eclipse, select your workspace
Go to Window->Preferences->Install/Update->Available Software Sites
Click Import, choose the file from step 3
II. To copy across your old plug-ins:
In the new Eclipse, select File->Import->Install->From Existing Installation
Select your old eclipse directory, eg ~/apps/eclipse-jee-indigo-SR1-linux-gtk-x86_64/eclipse/
Select the plug-ins/features you want to install, click Finish
When it finishes, you can archive/delete your old Eclipse directory
In the latest Eclipse, you can keep all previously-installed plugins by running Eclipse, selecting File → Import…, continuing with Install → From Existing Installation, and then selecting the older Eclipse’s path.
You can install plugins into an external directory like this. I don't think there is a way to keep plugins installed from inside Eclipse.
Import and Export of plugins can be used to keep all the installed plugins.
Plug-in Export
Plug-in Import