Sunday, July 19th, 2009 | IDE, Java, Tech-savvy | No Comments
Another post on getting your subversion running in eclipse – this time it’s the brand new Galileo release.
To cut a long story short: SVN integration is still a manual tedious process. I don’t want to complain too much this time, now that I know it’s because of legal issues eclipse is not coming with an out of the box SVN support – even though the Subversive team provider is part of eclipse, the connectors cannot be published together with Subversive because the eclipse legal rules don’t support the connectors’ license, just Google it for more information)
So here is how you do it:
Help -> Install New Software… -> Galileo -> Collaboration -> Subversive SVN Team Provider (Incubation)
Help -> Install New Software… -> Add -> http://community.polarion.com/projects/subversive/download/eclipse/2.0/galileo-site/ -> SVN Connectors
Install all or just the connector you really need, my favourite one is SVN Kit, because it works fine and has svn+ssh:// support.
If you chose to install all connectors you can change the implementation in Window -> Preferences -> Team -> SVN
Friday, May 15th, 2009 | IDE, Java, Tech-savvy | 5 Comments
Today I set up a fresh dev environment, and guess which step made my stray again? Right, the frickin’ SVN connection. I reread my own blog post to set it up, but even though I am (just) using the current service release of the eclipse Ganymede release I am stuck again!
First, the “Subversive SVN Team Provider” URL is no longer provided by the software update process. Come one guys, why are you making the process even worse?
After installing the Subversive plug-in and the SVN Kit connector I restarted the IDE – but I got
Selected SVN connector library is not available or cannot be loaded.
I didn’t dig too deep after that, this issue took away far too much spare time already, so I just installed the whole “Subversive SVN Connectors” tree. Still no connector available in Window – Preferences – Team – SVN – SVN Connectors. The dropdown list is just plain empty. This is really freaking me out… damn, I just want to work!
After that I installed all the stuff both the SVN Connectors and the Subversive site offered. Still no luck. This sucks big time! I’ll now consult Google trying to find some blog post similar to the one I wrote for the initial Ganymede release.
Okay, done it. Solution: clean install (unpack) of eclipse Ganymede SR2, add both the SVN Connectors as well as the Subversive update sites:
- Subversive Site (http://download.eclipse.org/technology/subversive/0.7/update-site/)
- SVN Connectors Site (http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/)
Install (I installed them all at once):
- Subversive Site => Subversive SVN Team Provider Plugin (Incubation) => Subversive SVN Team Provider (Incubation)
- SVN Connectors Site => Subversive SVN Connectors => Subversive SVN Connectors
- SVN Connectors Site => Subversive SVN Connectors => SVNKit 1.2.2 Implementation (Optional)
Restart eclipse. After that I was good to go! Easy when you know how it’s done! 😉 Thanks to Universität Karlsruhe for providing the information. Another hour wasted for no good reason. Anybody tried the brand new M7 of eclipse Galileo already?
Monday, March 2nd, 2009 | IDE, Java, Tech-savvy | No Comments
After using the recent eclipse Ganymede release with the provided Subversion connection (@see eclipse IDE Subversion integration – a pain every single time) for some time I came across an oddity that I blogged about on my company’s blog.
eclipse complains about you trying to commit on a tag even if you are not working on a tag (who does, anyway?) – you just have to use subversion keywords in your package names to get a nasty nag screen every time you try to commit your work. Why should you do that anyway? Get the answer to this question and the explanation why this oddity happens reading this article at codecentric‘s blog (provided in both English and German).
Thursday, December 4th, 2008 | IDE, Java, Tech-savvy | 17 Comments
You’ve been here before. Not sure whether to use Subclipse or Subversive? And what about the SVN provider? SVN Kit, JavaHL native? Bollocks!
Never change a running… err, eclipse installation. (Don’t take me wrong. I simply loooove the eclipse IDE. Strg-1/Space anyone? Alt-Shift-T??)
I don’t know whether this will help anyone, but in the next couple of lines I want to give a guideline to set up Subversion for eclipse (Ganymede it is).
What will follow is the diary version of my problem, if you just want the solution go to the very end of this post.
First, I mainly work with two kinds of repositories: SVN over HTTP/HTTPS and SVN over SSL with private key authentication – not all connectors provide these methods (e.g. JavaHL doesn’t support svn+ssh://).
I know that one of the SVN eclipse projects is becoming a part of eclipse, so I check the “Ganymede” tree in the “Help” – “Software Updates…” menu and open “Collaboration Tools”. Nice, I found the “Subversive SVN Team Provider”. Click.
Yes, Subversive is part of the official Ganymede release, though still in “Incubation” state. So let’s forget about Subclipse, shall we?
After that, we have to install a connector. Let’s see, the Subversive user guide states
In order to work with SVN the plug-in user should also install one of SVN connectors, which are distributed from different update-site through the legacy reasons. The plug-in won’t work without SVN Connectors.
Slightly upset I follow the link to the installation instructions… okay, I am not upset yet because I already knew the connectors issue.
The installation instructions tell me:
Proper URL can be found at http://www.eclipse.org/subversive/downloads.php
I go there, after finding the proper version that I am using I read:
Visit external site to get Subversive SVN Connectors (http://www.polarion.com/products/svn/subversive.php?src=eclipseproject)
I go there, too, becoming seriously annoyed by the installation process… locating the Ganymede Release.
Subversive SVN Connectors (http://www.polarion.org/projects/subversive/download/eclipse/2.0/ganymede-site/)
Back in the IDE, I open the “Available Software” tab again to add a site. After that, I decide to go for the Native JavaHL 1.5 implementation.
The workbench reloads, I open “Preferences” – “Team” – “SVN” to check whether the connector is chosen properly. I see a blank drop down. Yikes! Opening it I get
Native JavaHL (0x00100000: Cannot load libraries: no libdb44 in java.library.path)
I take a deep breath. Focus. I already consumed one bottle of hop’s brew without even getting started. This will be the last time, ’cause I blog. Next time I’ll just look it up. I’ll get another bottle and try to figure the error out.
Next, I also install the Subversive SVN Connectors feature. Same problem.
After that, I install the whole fricking Subversive SVN Connectors’ tree. It works.
Next I set up my repositories. HTTPS works fine, the svn+ssh connection doesn’t.
These setting are not available for the chosen SVN connector. See the ‘SVN’ Preferences page.
You bet I will. I go for the latest SVN Kit connector. This time I can enter the svn+ssh location settings without a problem and I am good to go, all is set up properly! 😛
Install Ganymede “Subversive SVN Team Provider” (URL already provided)
Get the connectors’ update site URL at http://www.eclipse.org/subversive/downloads.php and make sure to choose the right version.
Open the “Subversive SVN Connectors” tree.
Choose “SVN Kit” (latest version, probably) as the connector.
To sum it up: I am looking forward to the times when a descent SVN connection is part of eclipse IDE right out of the box. Let’s wait and see!
- August 2017 (2)
- July 2017 (4)
- November 2016 (1)
- October 2016 (1)
- September 2016 (2)
- March 2015 (1)
- December 2014 (1)
- September 2014 (1)
- August 2014 (1)
- February 2014 (1)
- January 2014 (1)
- December 2013 (1)
- November 2013 (1)
- July 2013 (1)
- May 2013 (3)
- April 2013 (1)
- March 2013 (1)
- February 2013 (1)
- January 2013 (1)
- December 2012 (3)
- November 2012 (1)
- October 2012 (3)
- September 2012 (3)
- July 2012 (1)
- May 2012 (1)
- April 2012 (1)
- February 2012 (7)
- January 2012 (1)
- December 2011 (2)
- November 2011 (4)
- October 2011 (5)
- September 2011 (3)
- August 2011 (3)
- July 2011 (2)
- June 2011 (4)
- May 2011 (1)
- April 2011 (2)
- March 2011 (2)
- February 2011 (2)
- January 2011 (6)
- December 2010 (2)
- November 2010 (5)
- October 2010 (7)
- September 2010 (13)
- August 2010 (6)
- July 2010 (4)
- June 2010 (3)
- May 2010 (3)
- April 2010 (2)
- March 2010 (2)
- February 2010 (1)
- January 2010 (1)
- December 2009 (1)
- November 2009 (2)
- October 2009 (5)
- September 2009 (1)
- August 2009 (3)
- July 2009 (5)
- June 2009 (5)
- May 2009 (6)
- April 2009 (3)
- March 2009 (3)
- February 2009 (2)
- January 2009 (1)
- December 2008 (9)
- November 2008 (15)
- October 2008 (15)
- September 2008 (13)