exporting Eclipse configuration - eclipse

I've invested a lot of time, sweat, hair and foul language getting my 32-bit Eclipse installation configured just how I like it, with lots of plugins like Maven, MAT and TPCP .
Now the time has come to switch over to 64-bit. Can one export/import an Eclipse installation configuration in the same way one can export/import a project?
TIA,
Still-learning Steve

Take a look at the following wizards...
File -> Import -> Install -> From Existing Installation
File -> Import -> Install -> Install Software Items From File
File -> Export -> Install -> Installed Software Items to File
The first one is likely the easiest approach. Just get yourself a new base Eclipse, run it and point that wizard at your old install.

Related

How to cross-reference in GoClipse?

I have installed Eclipse (Mars) with Goclipse plugin on my Macbook yesterday. They initially work perfectly. But today I found I cannot do cross reference (that means cmd+click on a keyword cannot jump the definition). And the console shows:
Running: oracle -pos=/Users/myname/coreos/naas/server/src/mycompany.com/hh/naas-server/main.go:#389,#389
-format=json describe mycompany.com/hh/naas-server
FAILED: Could not start process:
Reason: Cannot run program "oracle": error=2, No such file or directory
As Voker suggested, GoClipse is just an Eclipse plugin. For it to compile, build, run your Go packages and applications, it requires the Go tools.
You can set the standard Go tool on the settings page:
Window -> Preferences -> Go
You can set some non-standard, differnet Go tools on the page:
Window -> Preferences -> Go -> Tools
This is where you can tell GoClipse where your oracle and gocode programs are located.
You have to download oracle yourself, but the settings page above provides you a button:
Download Go oracle (run: `go get -u golang.org/x/tools/cmd/oracle`)
So you have to go get it either manually or by the above-mentioned button. Install it using go install, so you will have the executable binary oracle. You have to set the full path of oracle on the Go -> Tools settings page, and it will work.
While we're at it: I also recommend you to install gocode (https://github.com/nsf/gocode) which will provide you the auto-complete feature (CTRL+SPACE or CMD+SPACE for a list of exported identifiers in package, list of methods etc.). Just also use the button on the same settings page:
Download gocode (run: `go get -u github.com/nsf/gocode`)
Install it and set the full path of the resulted executable binary gocode.

Eclipse Luna "cannot determine URI for /project/src/com/.../classFile.java" (windows 8)

Just installed Eclipse LUNA, and converted my old JUNO workspace. It worked on one of my computers fine (win7), but using the same project on my other computer (win8, synced via dropbox) created this issue for all opened files, and nothing shows up in my package explorer. Always worked fine with JUNO.
Inside package explorer, right click -> import -> General -> Existing Projects into Workspace -> next -> find your project in "Select root directory" -> Finish.
If only some projects or files are missing or the above doesn't work then a similar method using General/File System can be used where you choose the specific files to import.

Eclipse keeps crunching while "updating rpm packages proposal list"

I've recently installed Eclipse Kepler CDT on a Win7 64 machine. It runs fine (well, sort of), but - it keeps crunching, with the status bar saying
Updating RPM packages proposal list
Why is this happening and how can I make it stop?
It's a bug in the "Linux Tools" plugin.
It seems that the plugin is unable to create the file specified at
Window -> Preferences -> Specfile Editor -> RPM Completions -> Path to packages list file
or
Window -> Preferences -> RPM -> Specfile Editor -> RPM Completions -> Path to packages list file
and therefore keeps trying to create it.
To fix this problem, just create an empty file at that location & name, or create a new empty file at a different location & name and specify it as the "Path to packages list file".
Note: You cannot create the default file (.pkglist) using Windows explorer since it won't let you create a file whose name starts with a dot. So open a console (command prompt) window and run this command:
echo. > path\to\file\.pkglist
I was able to solve this in Eclipse Kepler by going to Window -> Preferences -> Specfile Editor -> RPM Completions and un-checking Automatically build the RPM packages proposal list
Run Eclipse as administrator and it will create this fail successfully. Normal program do not have rights to write into this directory.
When developers lean to give meaningful error messages? Also, it will probably tray to write into this file sometimes in the future and that will also fail. Make this fail writable for users, normally programs run with user rights!
In Eclipse version 2022-06, the updating can be disabled by goin to Window -> Preferences -> RPM -> Specfile Editor -> RPM Completions (note the first RPM which is not present in Eclipse Kepler) and un-checking Automatically build the RPM packages proposal list
I was getting this simply because my %USERPROFILE%.pkglist didn't exist, so creating the empty file solved the problem for me.

Eclipse: Cannot find project in Project Explorer

I am using Eclipse Juno SR1 Java EE, and checked out code from SVN as an Eclipse project. I am able to click on files in the project to verify everything was ok. The next time I rebooted, I can't see the project in the Project Explorer window.
A few things I checked: The menu item Project > Open Project is greyed out, indicating there are no closed projects. The project's file tree exists in my workspace. Eclipse won't let me create a new project with the same name because one already exists.
This is my first time using Juno, is there some new control that hides projects from view?
"File -> Import -> General -> Existing Projects Into Workspace"
"File -> Import -> Android -> Existing Android Code Into Workspace" doesn't do what you're trying to accomplish (been there...).
Assuming the above lines mean what they say, the first tells Eclipse to recognize what you're importing as an official Project. The 2nd tells Eclipse that you're importing only the code, not the Project itself.
Sometimes it's just because .project file is missing. If you have any other project, copy its .project file and paste inside the main folder of the project you're trying to import.
Try starting with the clean option in command line, maybe that should fix it
eclipse -clean
try
file -> switch workspace -> other
and tell eclipse where your workspace is
I was facing the same problem with RAD. What I did was:
imported only those projects which were deployed locally in my portal server.
Did a clean build.
Started the server.
It worked for me. Able to access my application. Rest of the projects which were not deployed as part of my local portal server, I will import them on need basis later.

How to export Subclipse SVN Repositories - Eclipse Juno, Subclipse 1.8.16

I would like to import / export my SVN Repository locations from Subclipse 1.8.16 under Eclipse Juno. Is that possible?
I saw that if you are using the Subversive SVN plugin for Eclipse you can do something like this: http://www.eclipse.org/subversive/documentation/teamSupport/SVNaction/location_ie.php
Is there any equivalent for Subclipse?
Thank you!
You can export your preferences from Eclipse and import them to a newer version including your svn locations. This is done by simply going to File -> Export -> Select from General -> Preferences. Then on the next step you can tick from a list the preferences you want to export. In this list, SVN preferences and SVN repositories should be included.
Then you can import these preferences to your new eclipse environment by doing File -> Import.. this time.
To make your transition smoother to your new eclipse environment you can also export the list of sites you used to download your plugins (like Subclipse etc). This is done by going to Eclipse -> Preferences -> Install/Update -> Available Software Sites. You select the ones you want to export and then press the Export.. button. Then you can import them to your new eclipse by pressing in the same view the import button. Then, if you want in your new eclipse to install for example Subclipse, you can do it by going to Help -> Install new software... and then in the available software view there is a drop down menu from which you can select the corresponding software site.
HTH.
a bit late in the day but here goes.
Navigate to the dir WORKSPACE/.metadata/.plugins/org.tigris.subversion.subclipse.core
In there there is a file '.svnProviderState'
This is a binary file but just copy this to the new location & Bob is your dad's brother.