exporting installed plugins from eclipse to another - eclipse-plugin

How to export installed plugins from eclipse?
I want to use some of my installed plugins in another eclipse machine.
I don't want to download those again.
Regards

Start fresh and install plugins from an old install
The idea here is that you want to keep your old install intact, download a new indigo package (http://download.eclipse.org/) and just adds the existing plugins to your install. With Indigo this is now made super easy!
Step 1: Download and unzip your Indigo install: http://download.eclipse.org
Step 2: Import your plug-ins from your previous install by doing File > Import > Install > From existing install, pick your old install, select the plug-ins and there you go! You can chose to go piece meal, or chose to pick several entries, in any event dependency analysis will be performed to check the validity of the install.
Step 3: Click next a couple times and patiently wait for the bytes to download to your machine. Then restart and enjoy!
from http://lenettoyeur-on-eclipse.blogspot.com/2011/06/from-helios-to-indigo-is-easy.html

You can export the list of the features and plugins by going to File->Export->Install.

I’m bringing a really old thread to life here, but there’s a much more comfortable way to export your Eclipse plug-ins and use your setup on another machine now.
On http://profiles.yatta.de you can download the Yatta Launcher for Eclipse, which allows you to export your Eclipse & workspace setup (including your plug-in setup).
Export and installation are pretty straight forward:
Download the Launcher from http://profiles.yatta.de and start it
The tool will automatically discover your Eclipse installations. Find the one you want to export in the list (they are all named after your workspaces).
Click the Upload & Share button (the blue one) on the right of the entry you want to export.
(You won’t actually “share” your Eclipse or workspace with anyone. You’ll just upload a setup file with your metadata that only you have access to yourself. You could share this later, but you can also just keep it as a backup).
This solution does not only allow you to reuse your eclipse plug-in setup, but also your configured Git & task repositories and many other setup-specific settings.

Along with update sites, p2 can treat existing Eclipse installations as a source for the plugins to be installed.
If you access the Eclipse folder in another machine (which has the plugins installed) via shared folder in the network , then in your new Eclipse, open Preferences->Install/Update->Available Software Sites->Add->Local-> browse to the Eclipse->p2->org.eclipse.equinox.p2.engine->profileRegistry and select the profile.
Now in the target Eclipse you can install those plugins as if you are installing from an update site.

P2 (the bundle provisioning system) provides functionalities for shared bundle pooling, see
http://wiki.eclipse.org/Equinox/p2/Getting_Started#Bundle_pooling

It seems that feature is on its way: http://bugs.eclipse.org/282419

I don't know how to export a installed plugin,
but this answer helps for reinstalling an eclipse plugin from another eclipse installation. (How Do You Reinstall Installed Eclipse Plugins?)
Also See
Installing Eclipse (3.4+) plugins in a directory other than ECLIPSE_HOME/plugins
How To Add Perspectives In Eclipse?

You can simply copy the plug in folder from the other machine --(may be on a pendrive or cd )-- whatever suits you.
Then go to your ecplise,
File > Import... > Plug-in Development --> Plug-ins and Fragments Click "Next"
[Import From] -- Directory. Browse your plugins folder
Just Hit "Next"
From the left box, select individual or you may want to add all of it. Just hit
"AddAll ->"
And Just Hit "Next"
and there on just sit back let it do all the import work.

Dropping the right jars from your plugins directory to the target installation plugins directory should do the trick.

Related

Can't install practically macro on eclipse

I can't install practically macro on eclipse.`
Error:
Communication with repository at
http://puremvcnotificationviewer.googlecode.com/svn/trunk/PracticallyMacroGoogleUpdateSite
failed.
Read Timeout
Tried to install from here https://marketplace.eclipse.org/content/practically-macro-0 dragging and dropping
And tried to install it from eclipse marketplace, both said the same thing.
I have eclipse luna 4.4.1.
I want to be able to do key shortcut for run cofiguration. Apperently i need this plug-in but can't install it.
Go to https://sourceforge.net/projects/practicalmacro/?source=typ_redirect and download PracticallyMacro_x.x.x.jar.
Then create a directory "PracticallyMarco" inside the eclipse/plugins directory.
Extract all files from PracticallyMacro_x.x.x.jar into eclipse/plugins/PracticallyMarco.
Restart eclipse. (Maybe you should restart eclipse with the -clean option.)
Then you can use the PracticallyMacro from the main toolbar:
See also the file eclipse/plugins/PracticallyMarco/Instructions.txt for more details.
There is a GitHub fork that seems to work:
https://github.com/EmteZogaf/practicalmacro-site/
If you browse the repo you can find the following update site:
https://github.com/EmteZogaf/practicalmacro-site/raw/master
I tested it on latest eclipse PHOTON and it seems to work.

Not able to install sonarlint plugin in Platform: Eclipse Mars.1 (4.5.1)

Trying to install sonar lint plugin in STS tool, it is not installing and says Sonar lint not compatible with this version of eclipse.
Find the versions details.
Spring Tool Suite
Version: 3.7.2.RELEASE
Build Id: 201511261048
Platform: Eclipse Mars.1 (4.5.1)
Hi you can download sonar lint from the follwing URL http://www.sonarlint.org/eclipse/ then follow the steps given below
Make sure the download location, Don't unpack the archive file(for windows)
Go to install new software option in eclipse Help >>
Click Add button in right of work with text field, following screen will appear
Fill name location as "Sonar" etc
Now select the downloaded archive file by clicking Archive button
Follow the installation instructions from the Installation window
you can also install zip file of SonarLint as follow:
1.go to the site https://bintray.com/sonarsource/SonarLint-for-Eclipse/releases/2.6.0.
2.download the setup jar file and go to help menu of eclipse
3.click on "install new software"
4.click on add.
5.click on "archive".
6."open" the jar file from the location you have downloaded the jar.
install the software.
Not sure what the problem exactly is, but I worked around this by starting up STS, select "Install New Software" and pasted the Solarlint update site URL into that dialog: http://eclipse.sonarlint.org/
That allowed me to install the plugin into STS 3.7.2 without any issues.
Hope this helps!!!
Please Make visit to this link and as i see you are using mars.
1. If you have eclipse marketplace installed then you can proceed as per.
you just need to drag this icon to your eclipse and done.
2. If not Installed then also same link click on download button and after downloading go to eclipse on right side there is search functionality type install new software and then select that option window will pop up choose>>add button>>archive button>>and upload zip file from download location >>accept agreement and done click on next done.
If you found it easy and helpful please up-vote happy coding and reviewing with sonarlint
1.Download it from https://www.sonarlint.org/eclipse/
2.In Eclipse go to Help->Install New Software->Add
3.Now click on Archive and select downloaded plugin zip and click Ok
4.Select the items and click Next and then accept license agreement and finally it will ask for a restart

How to install VisualVM plugin VisualGC - When Plugin Network Install blocked

I'm using VisualVM to monitor a number of JAVA applications, I would like to install some of the plugins that are available within this app.. Unfortunately the 'Available Plugins' option does not work for myself, as I believe I may be blocked by the corporate proxy.
Any ideas how and where I can download an offline plugin, so that I can see this in 'VisualVM'.
Thanks,
Shaun.
Plugins for offline VisualVM installations can be manually downloaded from the Plugins Centers page. Download the plugins as .nbm files. To install them in VisualVM do the following:
In VisualVM main menu choose Tools | Plugins, Plugins dialog is opened
Switch to Downloaded tab, click the Add Plugins... button, select downloaded plugin .nbm file(s) and click the Open button
Click the Install button, review and accept plugin license and wait for the plugin to be installed
Go to Tools > Plugins > Settings.
Edit URL to https://visualvm.github.io/uc/release139/updates.xml.gz.
Now plugins will be available & you can install online.
1、Plugins Center:https://visualvm.github.io/pluginscenters.html
2、 Tools | Plugins
On a production machine with no public internet connection, I was able to successfully install Luis-Miguel Alventosa's VisualVM-MBeans plugin by following this article dated November 19, 2012 and titled  "Installing VisualVM plug-ins into the shared directory"; http://veithen.github.io/2012/11/19/installing-visualvm-plugins-into-shared-directory.html; last accessed Jan 25, 2018.
"[The] article describes how to install VisualVM plug-ins into [a] shared installation directory instead of the user’s home directory. This is useful if the VisualVM installation is used by multiple users on the same system or if you want to create a custom VisualVM distribution with a set of pre-installed plug-ins. Actually the 'Force install into shared directories' option in the plug-in installation dialog (see the 'Settings' tab) should enable that, but the option doesn’t seem to work in VisualVM 1.3.4."
 
The following procedure can be used as a workaround:
Let VVM_HOME be the folder where VisualVM is installed.
On Windows Server 2012, a good choice might be C:\Users\Public\Public Desktop\VisualVM
Let PUBLIC be a machine with a public internet connection.
Let PRIVATE be a machine that lacks a public internet connection.​
On PUBLIC
Install VisualVM.
At least once, start VisualVM and exit.
Remove (or backup) the user's VisualVM per-user configuration folder.
On Windows Server 2012, %APPDATA%\VisualVM\x.y.z.
On Linux, ${HOME}/.visualvm/x.y.z folder.
Launch VisualVM and install the relevant plug-ins. They will be placed into the user's VisualVM per-user configuration folder (the one deleted in the previous step).
On PRIVATE
Install VisualVM.
Create a new directory called custom (you may of course choose a different name if you want) under the VisualVM installation directory (i.e. at the same level as the platform and visualvm directories).
​Copy the following folder structures from ${HOME}/.visualvm/x.y.z to the custom directory e.g. %PROGRAMDATA%\VisualVM​\x.y.z (so that the resulting folder structure matches the one in platform and visualvm):
​​​config/Modules
modules
update_tracking
Edit the VVM_HOME/etc/visualvm.conf file enable a custom cluster folder: on Windows Server 2012, the line readsvisualvm_extraclusters=C:/ProgramData/VisualVM/1.4​
Remove the user's VisualVM per-user configuration.
If you start VisualVM now, the plug-ins you have copied to the custom folder should be available immediately.
All sorted now...
If you goto the Plugin download site and download the required plugin, this by default is a ZIP file. Rename the ZIP to a NBM file and then you can manually install the plugin via the download tab.

Eclipse p2 plugins from the dropins folder are installed but not activated

I have an eclipse product built against eclipse platform 3.6.2. I have other external plugins (no features) that are built separately (against the same platform) and my product does not depend on them, but they do depend on some plugins in my product. These external plugins makes contributions to the menus.
When I run my application from Eclipse and I add the extenral plugins to my launcher, they work just fine and I can notice their menu contributions. But when I build my application using PDE (with p2 support) and I add the external plugins to the dropins folder. They do get detected in my list of installed plugins in the product installation details but the Plugin.start() does never get called, nor I see their menu contributions, also when I check them in the configuration tab, I notice that they are listed as < Plugin ID> [Starting] . But when running from eclipse, in the Configuration they are listed as [Active]
I did try to add the extension point org.eclipse.ui.startup but it didn't change anything, it doesn't get called either.
Could anybody please help me with such a problem, or even guide me on how to debug it, I can't seem to make the p2 to print any useful debugging information when installing my pluigns.
Its great that you have built them using p2 support. This means should now have a P2 metadata repository. Now to install, just dropping the the stuff into dropins folder is not enough. I should recommend to instead 'install' them using the Help -> Install new software...

installing plugin in eclipse-cpp-helios-SR2-linux-gtk-x86_64

Can someone tell me how to install a map reduce (hadoop) plugin in eclipse-cpp-helios-SR2-linux ? Thanx in advance
hi
you can try this approach. Use any latest version of eclipse and than install CDT in it. This will allow you to write c/c++ application.
for your hadoop just go to you hadoop installation directory,here in contrib folder you will find eclipse plug-in in this folder you will get the jar file, just copy this file in to eclipse plug-in directory and restart the eclipse.
Now check for map-reduce perspective in window->open perspective and select build configuration according to your system
I don't know about the hadoop plug-in site if you find a site which provide hadoop plug-in than
There are two way to do it.
1:As you read over the net copy the plug-in and paste it into Eclipse plug-in folder and restart the eclipse. This is not the best way to install plug-in.
2: The proper way to install plug-in in eclipse is following :
Go to Help menu in Eclipse main window press Install new software.
Here in tab work with just put the address of website from where you want to install the plug-in.
Write any name for plug-in than look in the text box. it will provide you proper name of the plug-in and "next " tab at the bottom will be activated.
Press the next tab,It will install your plug-in .
At the end of installation just restart the eclipse to take the new setting effect.