Pydev missing after upgrading Eclipse on FreeBSD - eclipse

I recently updated my ports on my FreeBSD 9.0 release machine and I think eclipse was upgraded due to a port upstream forced Eclipse to be rebuilt. Now Pydev is gone. I tried uninstalling then reinstalling Eclipse, then installing Pydev using pydev.org/updates inside Eclipse. It appears to install ok but I can't create a Pydev project or use the Pydev view. I tried removing my ~/.eclipse folder to force the creation of a new one, and reinstalling Eclipse and Pydev to no avail. What am I doing wrong? I'm running Eclipse Indigo version 3.7.1 build id: R3_7_1
This question was most similar to mine, but the solution didn't work for me. I also tried pointing my install site as: http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml per another question on StackOverflow, to no avail.

After some more testing I finally got the newest FreeBSD port to work. I had to launch and install the plugins as root. It didn't work another time I ran it but, this great troubleshooting document helped out. I methodically went through each step one by one, and the logs indicated there was an error on my /usr/local/lib file it was trying to unzip. My user doesn't have write access to that directory but root does. I don't know why it didn't work the last time I ran it as root, perhaps I didn't install the plug-in as root. It works now, so I'm happy. Thanks Fabio, for your input.

I'm not sure how FreeBSD packages things, so, maybe an easy way out would be getting Eclipse from Eclipse.org and installing PyDev on that fresh install (or if you're also doing web stuff, I'd suggest grabbing Aptana Studio 3, which comes with PyDev preinstalled, so, you don't have to worry about configuring it).
See: http://pydev.org/download.html for details

Related

Upgrade Eclipse without opening it

I have Eclipse Juno with Java EE, PHP, C++ and PyDev in it and it was working perfectly under Ubuntu 12.04 and later under 14.04.
Yet, when I upgraded my OS to Ubuntu 14.10, Eclipse doesn't work anymore, whenever I try to open it, it shuts down immediately.
I want to upgrade it to Luna but it doesn't give me the chance to launch the upgrade, I have an idea I have and wish to hear your advice on whether it is right or wrong.
What I'd like to do is to download Luna and extract it over the older version.
Will this work? Or will it make it even worse?
Is there anyone who tired it before?
You may even download Luna, and extract it to a different folder (not necessary on top of the older version).
Afterwards, launch Luna and try to load your previous workspace(s). You might want to backup your workspaces folder, before letting Luna attempt and load from there.
Updating the eclipse through the command line is safer. Try it using eclipse site
and also refer to this answer
I find solution here https://bugs.eclipse.org/bugs/show_bug.cgi?id=440660#c20 on comment 20
This seems to be a bug in GTK according to https://bugs.launchpad.net/ubuntu/+source/gtk2-engines-oxygen/+bug/1242801
(there a similar problem for Meld was reported).
Another workaround mentioned there is
For oxygen, edit the normally already existing file "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc" and change
GtkComboBox::appears-as-list = 1
into
GtkComboBox::appears-as-list = 0
This workaround is working for me.

Eclipse hangs after installing egit

I am using Eclipse Indigo. Today I tried to install egit plugin using link "http://download.eclipse.org/releases/indigo".
While installing the egit, my proxy got squished and the install was stuck. I then logged in from a different proxy. The thing got installed.
Now when i am trying to start it again, i get this error "Accessing non-adaptable element org.eclipse.ecf.examples.remoteservices.hello.ds.host" and eclipse stops.
It does not show any error message or anything.
How should I solve this issue ??
Should i reset the eclipse proxy setting to a new location without starting the IDE ??
Or should I reset eclipse to a point before installing egit ??
Please explain the procedure in the answer.
Check if this is really a proxy issue. Try launching eclipse after your network adapter is disconnected (unplug your lan/switch of wifi) This should put git in offline mode and you should be able to change your settings. We had tried this when we had issue with our versioning tool (perforce) and i am assuming git also works in a similar mode.
Remove the Eclipse from OS completely.
Additional: Remove the directories in /home/username/.eclipse.
Everything!
Check for any eclipse executables using "locate eclipse" command in terminal.
Re-install the Eclipse Package using "sudo apt-get install eclipse-platform".
Your Eclipse will work fine. Check for the

All Eclipse Plugins Disabled

I'm running Eclipse 3.5.2 on Ubuntu 10.04. I tried to install the EGit plugin for Eclipse, and after Eclipse restarted, I found all of my other plugins had effectively vanished (Subclipse, PyDev, OpenExtern, Colorer, etc). Oddly enough, Eclispe doesn't list anything as disabled, and running Eclipse from the command line doesn't show any errors.
I immediately uninstalled EGit, and tried uninstalling and then reinstalling some of my other plugins, but I can't seem to get anything working. Eclipse's software dialog listed them all as installed, and I can atleast see PyDev listed under the Open Perspective dialog, but when I try and start the PyDev perspective, nothing happens, and no errors are shown. I also tried Eclipse's update wizard, to install all pending updates for components, but that had no noticeable effect.
I'm completely lost, especially since I'm not getting any kind of messaging that would indicate a problem. What's happened here? How do I fix Eclipse's plugins?
EDIT: The issue seems to be similar to this post. I see dozens of errors like
Could not instantiate provider org.tigris.subversion.subclipse.core.svnnature for project X
in my ~/workspace/.metadata/.log
Unfortunately, the suggested solution of somehow using the Equinox p2 Installer doesn't work for me.
EDIT: I tried deleting my ~/.eclipse folder and reinstalling my plugins, but the problem persists.
EDIT: I again tried deleting my ~/.eclipse folder, my ~/workspace/.metadata folder, removing all Eclipse Ubuntu packages (including config data), and then reinstalling, but plugins still aren't showing up...
EDIT: There may have been some other weird stuff going on. I'm not sure what triggered it, but at some point my entire file system became "readonly", and a lot of processes started to crash when they couldn't modify their db files (e.g. Firefox). After a reboot, everything seemed to resolve itself, and I was able to download and install Eclipse 3.7, which supposedly doesn't suffer from this bug.
Try going to Help > About Eclipse
Click on Installation Details and the Installation History tab
Select the date before things got screwed up and hit Revert

Subversive not showing up in eclipse

I am trying to install subversive for eclipse helios on windows 7. I am seeing it as installed in the installation details, but it is not showing up as a perspective and also in windows/preferences/team. Can anyone help me with this.
I fixed that issue by granting my user writing access to the eclipse installation directory (default in "Program Files" is read access).
#squig - +1
changing the directory permissions (I placed it under c:\program files\eclipse in Windows 7) caused the subversive plugin to work, after spending endless hours on trying to figure out the issue.
The lame part from Eclipse side (or Subversive side, dunno) is that no error message was shown, it appeared as if the software was installed properly. Shame.
I had exactly the same problem. But in my case the problem could not be solved be granting write access to the eclipse programm directory.
The reason was that I tried to use two versions (Mars and Neon.2) of eclipse in parallel. When I tried to install both programms into one directory in "C:\Programm Files (x86)\Eclipse" it was not possible to install plugins etc. to the newer version. Therefore I uninstalled the newer version and reinstalled it under "C:\Programm Files (x86)\Eclipse-Neon".
After this everything is fine. Even without write permissions to the programm directory.

Subclipse plugin doesn't work in Eclipse?

even though there was no error when installing Subclipse in Eclipse. I won't see the SVN perspective at all?
I have tried with "Eclipse Classic 3.5.1" and with "Eclipse for PHP Developers".
After downloading and unzipping the packages I used Eclipse's "Install Software" mechanism to install Subclipse 1.6.x. I followed the steps described here: http://www3.math.tu-berlin.de/jreality/mediawiki/index.php/Subclipse_installation_in_eclipse_galileo.
But after Eclipse re-starts I don't get any SVN Repository perspective? I have tried to un-install/re-install all the software components many times now. Finally after 3 hours of trying I am giving up. Does anyone have any hint what I am missing?
Thanks!
Peter
I had the same problem. I use Windows 7 64 bits OS. I clean read-only flag of eclipse folder in C:\Program Files (x86) and give full access right to all users on my PC. I reinstalled it from update site and it works.
This is a known bug with subclipse: http://subclipse.tigris.org/issues/show_bug.cgi?id=992
EDIT For anyone keeping track of this, it looks like Eclipse Helios SR1 may have fixed the issue. I haven't tested it myself yet, but by the sounds of the discussion at https://bugs.eclipse.org/bugs/show_bug.cgi?id=322929 it should now be working.
I just had this same issue with Ubuntu. It turned out to be permissions. Once I gave write permissions to everywhere in my eclipse installation and then reinstalled subclipse, its views and so forth appeared, just like magic.
I don't know what you are looking for. But after installing the Subclipse plugin, you should have a new entry in the File | New | Project dialog. Something along the lines of "Checkout project from SVN"
Then when you hit continue, you can enter your SVN repository details, check the branch you are interested in, etc. After checking out a project, you can right click on it and go to the "Team" submenu to get the features provided by Subclipse like check in code, diff, merge, etc.
I ran into the exact same problem too. I installed both Subclipse and GWT/GAE plugins and couldn't find any evidence of them after installation.
I'm on Windows 7 and had installed Eclipse 3.5 SR2 into C:\Program Files (x86)\eclipse-3.5. I also put my workspace in C:\Program Files (x86)\eclipse-3.5\workspace. When I was checking things I noticed there was a lock icon on the C:\Program Files (x86)\eclipse-3.5\workspace.
I reinstalled Eclipse to C:\dev\eclipse and the workspace to C:\dev\eclipse\workspace. After that the installation of the plugins went without a hitch and I could see the SVN Repository Exploring perspective (no idea why some of the other posters claim this perspective doesn't exist). I suspect it was some sort of permissions problem on the directories.
Another way to check and see if the whole thing was installed correctly is to go to the SVN Repositories view. Go to Window -> Show View -> Other, and then search for SVN. If you see a bunch of SVN views like "Repositories," Subclipse is installed.
I had this problem due to some kind of incompatibility between Subclipse and Android ADT plugins. One answer suggested yoxos which gives you all your eclipse plugins from one central repository.
Had the same problem. I work on Linux, and when I installed eclipse in /usr/local/eclipse, Subclipse did not show up. The solution was to install Eclipse locally, e.g. in /home/user/eclipse. Now Subclipse (and other plugins too) worked!
Edit: guess it could be the same on Windows.
I think this is due to some incompatibilities between the packages of subclipse and the gwt 2.x plugin and android... as this started happen to me after I upgrade to v 2.0 of gwt back in the day.
The same issue repeats both on Mac and Windows... and it seems no fix has been released.
Now the only way I've found to move on with my work is to remove subclipse and install the latest subversive plugin instead.
http://www.eclipse.org/subversive/
I know this ain't subclipse but it works very similar and no issues with gwt nor android plugins.
it worked for me and so I hope it works for you in the mean time.
cheers,
G.