Saturday 31 December 2011

How to do Updates and Installation of Plugins in Eclipse for Selenium automation


11. Updates and Installation of Plugins

11.1. Eclipse Update Manager

Eclipse contains an Update Manager which allows you to install and update software components. Installable software components are called features and consists of plug-ins.
To update your Eclipse installation, select Help → Check for Updates. The system will search for updates for the already installed software components. If it finds updated components, it will ask you to approve the update.
To install a new functionality, select Help → Install New Software

Selecting an update site in the update manager

From the "Work with" list, select an URL from which you would like to install.
To add a new update site, press "Add" and enter the new URL as well as a name for the new update site.
Sometimes you have to uncheck "Group items by category" – not all available plug-ins are categorized. If they are not categorized, they will not be displayed unless the grouping is disabled.

11.2. Manual installation of plug-ins (dropins folder)

If you’re using a plug-in for which no Update Site is available, you can use the "dropins" folder in your Eclipse installation directory.
Plug-ins are typically distributed as .jar files. To add a plug-in to your Eclipse installation, put the plug-in .jar file into the Eclipse "dropins" folder and restart Eclipse. Eclipse should detect the new plug-in and install it for you.

11.3.  Eclipse Marketplace

Eclipse also contains a client which allows installing software components from the Eclipse Marketplace. The advantage of this client is that you can search for components, discover popular extensions and see descriptions and ratings.
Compared to the update manager you don't have to know the URL for the update site.
To open the Eclipse Marketplace select Help → Eclipse Marketplace.

Showing the Eclipse Marketplace Client

You can use the "Find" box to search for components. Pressing "Install" will start the installation process.

11.4.  Restart required?

After an update or an installation of a new software component Eclipse to restart Eclipse. In general, it is a good idea to restart Eclipse in this situation, otherwise some components might not work corrrectly.

Source Link : http://www.vogella.de/articles/Eclipse/article.html