Updating SVN client version from 1.4 to 1.5 with Eclipse and Subversive with Tortoise SVN on Windows
This process is very very frustrating - but due to the way pretty much every SVN client seems to need to update the working files for any SVN managed resources to the latest version it supports, it does seem to be a necessary process - especially when some other svn plugins (such as Ahnk SVN for visual studio) only support 1.5 or later.
During this process I came across a lot of things that didn't work - I'm just trying to document here what did...
- Install latest release version of Subversive using Eclipse update URL: http://download.eclipse.org/technology/subversive/0.7/update-site/
- Install appropriate version of Subversive connectors using Eclipse update URL: http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/
- Make sure you select SVNKit, and not Java HL Native / Win32 - as these don't work
- Use SVNKit 1.2.3 for SVN 1.5.x or1.3.0 for SVN 1.6.x
- Disable all the Subversive 1.1 related plugins from the Help > Software Updates > Manage Configuration menu in Eclipse
- Don't follow the instructions here about not unistalling the polarion version first - this functionality broke every time I tried to use it (YMMV)
- Download and install the latest 1.5.X version of Tortoise SVN from http://sourceforge.net/project/showfiles.php?group_id=138498&package_id=151948 (followed by a reboot)
- Open Eclipse, and go to a SVN manages project in the navigator, and select Team on the context menu.
- Team will probably just show Apply Patch
- Open the Help > Subversive >Migrate Projects and settings menu item
- When it asks you whether you want to restore repository location, Click No
- This screwed up the SVN plugin completely for me when I selected Yes
- YMMV - may be the version of eclipse I am using - or some other plugin conflict
- If you click Yes, and the progress bar freezes part way (and eclispe has ~0% CPU usage):
- End Eclipse task
- Go to \.metadata\.plugins\ folder within your workspace
- Delete org.eclipse.team .svn.core folder
- Start Eclipse
- After clicking No, you should get a Transfer Settings operation failed subversive error screen
- Close the dialog, and then select Team > Share Project > SVN - plugin should pickup all the SVN settings automagically - and will update the working folders to SVN 1.5.x
- Repeat as needed for each SVN controlled project
I'm sure that this is not the best / most efficient way of doing this (although maybe it is knowing Eclipse) - but it does get there in the end...
(I have to say that the installation I did yesterday of Microsoft Visual Studio .NET 2008 Pro - despiste being a 4GB + ~5 hour installation of disparate applications - was soooo much less painful. I suppose that's one of the things you get for paying ~£1,000 for your IDE...)


There are no comments for this entry.
[Add Comment]