How to migrate my eclipse to another computer? - eclipse

How can I migrate my eclipse and plugins from my computer to my laptop?
My eclipse has an ADT and Android plugins and I dunno if it works to copy only the eclipse folder.

Just copy the eclipse folder. But some configurations will get lost because they are made per workspace. So you might also want to copy a workspace.

Copying the Eclipse folder should work. Try it.
Having said that, when I'm in the same situation I usually just do a reinstall of Eclipse - it doesn't take long assuming you have a fast network connection and it's a good opportunity to get a clean install with all the latest plugin versions.

Related

Custom Eclipse packages

I would like to make an offline Eclipse installation with JDT, CDT and a few other plugins. This is what I would like to do, in decreasing preference:
Create an installation package similar to the ones available for download on the Eclipse website. Question: How can this be done? How are they created? Is there some kind of automated tool that gets the packages from p2 repositories and builds them? Is there a detailed explanation somewhere of how they are created? (I am aware of Yoxos, but that is a few versions old)
Do the installation on an internet-connected computer, and then copy the folder to another computer. Question: Can this be done? Will a simple Copy/Paste work correctly? Is there anything I can delete from the installation that will be automatically recreated?
Use an Eclipse package, say JDT, and a downloaded copy (zip file?) of the CDT and other plugins, and install them on the target machine using the standard Eclipse plugin installation from a local archive method. Question Where can I get these downloads?
The simplest approach you could use is to start from the eclipse "classic" package downloaded directly from the site, and then manually install the other components you need via update manager. You can then zip the eclipse directory and distribute it without any problem.
Otherwise you could try to use Yoxos to create your package, download and distribute it

How to make your own eclipse?

Who knows how to customize your own eclipse? I want to include some plugins and use it as bundled solution and not to install additional plugin when I want to use it on other machine.
This is what I've done in the past.
The first thing you have to do is a fresh install of eclipse, all the plugins you intend to use, and their configurations. After that just copy the eclipse folder AND the workspace/.metadata folder (this one could be an hidden folder) to the new machine.
Copying those folders to a new machine and running eclipse with the -clean flag (only needed the first time) seems to work fine so far.
I ran into some problems when trying to use 32bit eclipse in an 64bit environment, but I guess it's normal that it doesn't work. Also, this is not a cross-platform solution, i.e you cannot use your Mac installation of eclipse in Windows, or vice-versa.
I think you are referring to so called Individual Source Bundle, which you can build and create your own setup that will install your custom Eclipse bundle on desired machine.
Another solution would be just creating simple install/archive that will unpack c:\eclipse\ to c:\eclipse\ (or whatever) on target machine. This will work since Eclipse is not hardware dependent (but sure, it is OS dependent) because it's Java based.

How to upgrade Eclipse from Galileo to Helios on Ubuntu (10.04)

From other related posts, the recommended "best practice" is to create a "parallel" installation of Eclipse 3.6 (Helios). But I wish it were that simple ...
On my system, the installation package for 3.5 (Galileo) seems to have distributed the Eclipse system files over many different file-system locations:
/usr/lib/eclipse
/usr/bin/eclipse
/usr/share/
/var/lib/dpkg/info/
/etc/eclipse.ini
~/.eclipse
It's not at all clear to me what a "parallel" installation would look like in this case. Can someone enlighten me?
Would I be better off just deleting everything other than my workspace files that appears to involve Eclipse, and try to do a clean install of Helios?
Thanks.
I, personally, always download the ZIP package of Eclipse from eclipse.org and don't use the system's Eclipse package at all. It just makes everything cleaner. Then, when upgrading, I delete the old Eclipse folder, unzip the new one, and maybe keep options in eclipse.ini. The only difficulty is with the plugins but I keep links to the update sites so it's no big deal to download and install them again.

Download GWT plugins for eclipse without using eclipse Instaqll new softeware

Is this possible to download GWT plugins for eclipse separately ( without downloading with eclipse directly ) ?
because i need to install it on multiple eclipse on multiple pc and I want to archive it for future needs.
I want to paste it in dropins folder in eclipse later.
Regards
Here you go:
http://code.google.com/eclipse/docs/install-from-zip.html
Prepare one eclipse installation the way you like using the standard update sites.
Then you can archive this installation by just copying the eclipse folder and zipping it away somewhere.
To install a new eclipse just take the archive and unzip it on the target system.
With this you have the advantage of still having the automatic updates for the different installations.

How to install a custom plug-in in Eclipse Ganymede?

We have a custom plug-in. That is, the company where I'm working developed it in house.
I would like to install it as an available plug-in in Eclipse Ganymede. How do I do that?
From what I can figure out, the Eclipse software install only supports installation from Eclipse software update sites.
I went to Help -> Install New Software... -> Add -> Local...
to browse to a folder containing the plug-in. Although the dialog lets me add the directory as an update site, it doesn't work. It expects that directory to be a local Eclipse update site (I think). I get the error
No repository found at file:/G:/TOOLS/...
Next I just copied the plug-in into the plug-in directory under my Eclipse installation. That didn't work either. I also tried copying it into the dropins directory. No dice.
Can anyone enlighten me how to install a plug-in that's not on an "update" site?
Thanks in advance....
Usually an Eclipse plug-in packaged as zip file is install by extracting it into the Eclipse installation directory (or the plugins directory depending on how it is packaged, as it can also extract files in features directory).
Next restart Eclipse with the --clean option.
Did you check the Eclipse error log? Maybe the bundle is failing to deploy for some reason.
Otherwise, create a Feature and Update Site for your plugin as described here. An update site can either be a remote http server (SVN even), or a local directory. The nice thing is that you'll get versioning and the ability to upgrade and uninstall from inside Eclipse. It also makes things easier once your plugin grows into several plugins because they can be bundled together into a single, versioned feature.