Subclipse plugin doesn't work in Eclipse? - 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.

Related

Eclipse lost svn references for every project in workspace after forced close

I have a workspace with several projects connected to svn repositories via subclipse plugin. During a system restart, it seems eclipse was forcedly closed, and now I have restarted it, it seems the references to svn are lost. They are not disconnected, as there're interrogation signs as if every file was recently added, and .svn folders are still there. Also, the brackets that usually show the path in the repository are empty.
I could checkout the projects again and manually copy my last changes, but that's really annoying as there are about 10 projects.
Anyone experienced a similar issue and found a quick solution?
You subversion Eclipse plugin does not support svn 1.7. That happened to me too, when i upgraded the Tortoise shell integration and tried to commit the same project from Eclipse. The latest Subversive client plugin can be downloaded here: Subversive / Subclipse
It happened again today, and I fixed it by doing a Team->Refresh/Cleanup on the project. Can't believe I didn't try this before!
It happened to me today and "Team -> Share project" was enough.
Found it here: Restore Eclipse subversion project connection

Eclipse Plugins disappeared

After a ubuntu update all my eclipse plugin have disappeared, inclcuding ADT Plugin, Database Plugin, and PHP Plugin. If I install "new" software, eclipse gives my the error "Duplicated Location". Great
Any ideas how to fix this?
Did the Eclipse version get updated? Either way, from my experience the best option is to do a fresh install of Eclipse to make sure there's no cruft sitting around from previous installations (better to eliminate the possibility now then have some bug down the road that may be attributed to a code issue).

How do I stop the SVN window from opening on Eclipse startup?

As best as I know, I don't need the svn add-on, yet it keeps opening a window on eclipse startup asking for me to choose which svn I want to use. I close the window without cheking any options, and all is well. But this window is very annoying.
I think what has happened is that you have somehow installed the Subversive plugin (maybe it is included in your Eclipse distro by default somehow). The Subversive plugin requires an additional feature to be installed, and that feature is the actual SVN libraries to use. You have a choice of SVN libraries and that is what the dialog is likely asking you to install.
See here for a detailed description:
http://www.polarion.com/products/svn/subversive/download.php#svncon
You have 2 choices:
Install a subversion connector and the dialog will never come up again. This will not harm your system and one day if you choose to use SVN, you will already have the plugin configured.
Uninstall subversive. Go to: Help -> About Eclipse -> Installation Details. Scroll down to the Subversive entries. Select them all and click "Uninstall".
Uninstall the addon.
Help → Install New Software → What is already installed? → [uninstall your SVN plugin here]
Sometimes even though you uninstall subversion, there are still some plugins related to SVN that remaining. You can see them in [Installation details -> Plugins].
Go to your eclipse installation folder (e.g. C:\Eclipse on windows, /Applications/Eclipse on Mac OS X) then plugins folder and remove every file starting with "org.eclipse.team.svn"
You can see the list of the files that need to be removed from Plugins section of Installation details.
Try giving it a fake one and see if it goes away? :)

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.

SVN not working in Eclipse

One day I pressed in Eclipse Help -> Check for Updates (and I learnt that I should Never Ever update a software which works fine.)
Then in a project that I used with SVN the whole submenu of "Team" and the little icons that showed that some files weren't commited, they all dissapeared.
I tried everything:
revert from Instalation History tab
uninstall from Installed Software tab
replaced the folder eclipse in Program Files with a new one downloaded from eclipse website and tried to install again
searched how to install it on the net
But in none of the cases above if I press Ctrl+N There is no SVN group;
If i right click on a project and select Team -> Share project, a window with CVS appears, but no SVN.
If I choose File -> Import I can't find SVN anywhere.
If I go to Help -> About Eclipse -> Instalation details I see at Instalation History in 25.06.2009, 09:59:08 GMT+03:00 (when SVN worked)
Eclipse IDE for Java EE Developers 1.2.0.20090621-0820
Subclipse (Required) 1.6.2
Subversion JavaHL Native Library Adapter (Required) 1.6.3
SVNKit Library 1.3.0.5847
In the Installed Software tab I have now installed
Eclipse IDE for Java EE Developers 1.2.0.20090621-0820 epp.package.jee
Subclipse (Required) 1.6.5 org.tigris.subversion.subclipse.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.6 org.tigris.subversion.clientadapter.javahl.feature.feature.group
SVNKit Library 1.3.1.6109 org.tmatesoft.svnkit.feature.group
How can I make SVN to work?
Where does eclipse store its files, because when I changed the eclipse directory with a new one all my stuff was there (the ones that I installed with no success: SVN, Subversive, Subclipse, SVNKit, ...)
Subversive is my favorite SVN implementation in Eclipse because it works better than the others and it integrates neatly into the UI.
I suggest you follow these steps:
Download the most recent version of Eclipse (currently Galileo) and extract it to your desired installation location
Prior to running Eclipse, make sure you delete (or rename/relocate) your default workspace (under Windows this is workspace in your user directory)
Install the Subversive SVN Team Provider (as instructed by the Eclipse incubation website) using Eclipse's software installer:
Choose Help, then Install New Software...
Create a new download location and specify the following download URL: http://download.eclipse.org/releases/galileo
Locate Collaboration, expand it, then check Subversive SVN Team Provider (Incubation)
Proceed through the installation and accept the TOS
Restart Eclipse and Subversive should prompt you to select a SVN Connector. Reading the symptoms you describe, it sounds like you don't have a connector installed, or it isn't communicating with your team provider. The Polarion website has a guide for choosing the connector best suited for you.
If you aren't prompted to install a connector, you can always do so from the preferences screen:
If the above doesn't work for you, it seems that your workspace isn't cleaned out. Locate your default workspace and try getting things working without any projects before you continue.
You could then also try deleting the .eclipse directory in your user directory. And starting over from step 3.
The problem I had was that svn icons where not showing in the package explorer.
The solution for me was to delete the .metadata folder in the workspace folder (which will reset all your workspace including preferences and repository configurations)
After that all the icons appeared.
I had same issue when SVN connector was not able to connect SVN repository in Eclipse.
Then, I do the following step's :-
Right click on Project under Eclipse.
Go to Team -> share Project.
It's working :)
I found a problem related to installing plugins here. I also could not get the SVN stuff to show up in the preferences because of some bug with the software updater updating the Mylin plugins. You'll likely have to get your Eclipse installation straightened out first and you can do this by just using a new workspace. You don't have to blow away the .metadata folder if you point Eclipse temporarily at a new workspace folder. When the Eclipse installation is clean, you can start installing plugins again, but make sure to uncheck the box labeled Contact all update sites during install to find required software
Eclipse uses local SVN libraries that are part of an installed plugin for SVN support, be it SVNkit or JavaHL. Netbeans uses SVN libraries that are installed independently.
I have had this happen before with Eclipse and the various SVN plugins that it supports. The SVN plugin, for some reason, sometimes looses the SVN connection. Your best bet is to simply delete the project and re-check it out of svn. If you have changes that need to be committed you can use the command line.
Another problem you may have is that your plugin and your repository are out of sync in terms of version numbers. I have had problems before using a plugin designed for svn 1.6.x and a repository that was still at svn 1.4 or 1.5.
Just delete all projects from eclipse and Re-Import the all projects again.
It is working for me.
Just try it
If you want to completely start over with eclipse, you need to delete your workspace as well (the path you see when you first start eclipse). Just re-installing the eclipse files and pointing to the same default workspace will not change anything for you.
Your best bet is to remove eclipse and your workspace and start over because you probably inadvertently broke some other parts of the plug in while you were trying to fix your initial problem.
Even if you install everything as it is said, Subversive and SVN Connector (svnkit 1.x.x), in the project you may not see svn working. In my case I had to remove the project from workspace and import it again. Then it appears. (Refresh, clean did not worked).