Eclipse Kepler plugins - Offline Installation - eclipse

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.

Related

How to deploy an Eclipse Plugin?

Environment: Eclipse Oxygen.3a Release (4.7.3a), Build id: 20180405-1200
I have completely developed my new Eclipse Plugin. I have debugged it successfully and It´s ready to be deployed for beta testing by other developers in my organization.
The Overview tab in plugin.xml Eclipse editor offers an Export Wizard that works and produces a .jar file (theoretically) containing the plugin to be installed in other Eclipse installations.
After exporting the plugin to a local folder in my computer I tried to install it in Eclipse by using Help > Install new software... > [Add...] > [Archive...], selecting the .jar file generated and clicking [Ok].
However, I get the error message "Could not find jar:file:*<the selected plugin file>*!" and the [Finnish] button remains disabled.
What is missing to make my new plugin fully installable?
The most robust way to publish a plug-in (or Feature) for others to consume is to produce an Update Site. Then you can direct users to that site so they can install your plug-is/features via the Install New Software UI. It also provides an easy way to publish updates to your plug-ins.
Here is documentation about creating an Update Site.

Add language pack to eclipse RCP

I downloaded the eclipse language pack from the following site:
http://download.eclipse.org/technology/babel/babel_language_packs/R0.10.1/indigo/indigo.php
I put the downloaded plugins in the plugin folder of my eclipse installation.
My question: How do I use these plugins with my eclipse RCP application now?
I seem to be unable to add them to my application because I can select them no where. I also tried to drop them into the plugin folder of my RCP application after I exported the application and adding the plugin names to the config.ini but I had no success.
I'd appreciate any help on this topic since I'm stuck :(
Since 3.6 or so, Eclipse doesn't try to find additional plugins in the plugins folder; it will only consider what has been installed with p2 (i.e. via the "Install New Software" menu or the marketplace).
There should be a dropins folder next to the plugins folder; put the language packs in there and Eclipse should automatically pick them up.
See the documentation for details.

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/

Install Glassfish Eclipse Plugin without internet conenction?

I can't connect Eclipse to internet because of security issues in my work, i want to find a way to download the Glassfish Eclipse Plugin manually (Without using the Eclipse Market Place or Eclipse Install Wizard) and install it separately ...
I made many searches and all i found is how to install the Glassfish Eclipse Plugin using the download Link from Eclipse Plugin Installer ...
PS : Glassfish Server is already installed in my Laptop i just need the Eclipse Plugin.
From where can i download the Plugin ?
And how can i install it ?
GlassFish Tools is part of Oracle Enterprise Pack for Eclipse, which is offered in a number of different download formats, such as a ready-to-run Eclipse install and a downloadable repository. Either of these options is a good choice for users with connection problems. If you already have Eclipse installed, download the offline repository (may be called 'OEPE plugins only' on the download site). Then use the install plugins wizard, but point at the downloaded zip instead of a public URL. Make sure to uncheck the consult other repositories option to keep Eclipse from wandering to the network unnecessary.
OEPE - Main Download Page
OEPE - Latest Release

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