My typical install process of Eclipse is pretty straight forward: download, replace and install plugins.
- download: I typically select 'IDE for Java developers' and this time was no different
- replace: this is really a two step process, 1. archive current installation, 2. unzip latest version
- install plugins: since I write programs in a number of languages I need IDE feature addons for all of them, plus there are a number of plugins I like that make my life easier.
the shortlist: - CDT: IDE for C/C++ coding, yes I could download the CDT version of Eclipse, but last time I did that, I found that it didn't include the Java IDE and I find it easier to add on the CDT then the other way around.
- Photran: IDE for Fortran coding (yes I often write/fix code written in Fortran), this too can be downloaded as a separate IDE but last I checked it had the same issue with Java as the CDT download.
- Pydev: IDE for Python
- Texlipse: an 'IDE' for editing and writing TeX documents.
- Afae: a generic editor enhancement that adds color syntax for many different 'languages', this comes in handy with Unix shell script editing. (also recently the developer/s added an update site to make it easier to install)
- Subclipse: SVN client add-on for Eclipse
So as you are probably starting to guess based on the post title, Subversion on MacOSX is where my issues began. Basically without even thinking, I upgraded Eclipse... but at the same time I upgraded subversion via macports... the combined two updates is where things went nuts. The timing was actually completely coincidental, after the last Mac OS X software update, a number of packages on my macports list needed to be updated including subversion.
Well I can't answer for Windows or Linux (since I haven't tried it yet, but I've had a number of other issues with subversion 1.5 on a Centos box I manage, but that will be another post once I figure out how to fix it), but on Mac the latest version of subversion does not work with the latest version of Subclipse on Eclipse 3.4, well maybe it does, but it doesn't for me. At the same time Eclipse has selected the Subversive group to provide the built-in svn team support for Eclipse. Why they selected Subversive over Subclipse, which is developed by the same group that is behind subversion, is beyond me, but in reality the question should be "why did Subclipse retract thier proposal to provide subversion support in Eclipse". So again, here is where my troubles began... when I noticed that Subclipse didn't work I first tried Subversive... that didn't work. That was also when I realized that it may be because of my upgraded of Subversion not Eclipse/Subclipse so then I started to work on it from that angle.
So first I re-installed Subclipse, then I uninstall subversion and install via the binary at Tigris, only to then read reports of issues on mac, plus it didn't fix any of my problems, so I then uninstalled that package and went back to the macports version, of course this meant that I hadn't fixed anything. Then at the same time (as eluded to above) I started noticing issues with svn on one of my linux boxs which lead me to think based on research on that end that it was not an svn issue, but a client access issue. This is the point at which I learn that I needed something call subversion-javahlbinding. Well I quickly installed it via macports... no help.... then I tried installing the package available on the Subclipse update site... that went really bad... Eclipse would crash about 10 seconds after startup. So I had to start over with my 'replace' cycle and install all my other IDE plugins again. This time I made an additional backup of Eclipse with everything minus subversion support.
Anyways, well since Subclipse wasn't working with the JavaHL, I tried the SVNKit which I read about... that too didn't work, so again I decided to go with Subversive. Again I tried to install subversive... and again it didn't work. Then I read that only the UI was included in the Eclipse Ganymede update site and not the connectors. So I installed the connectors from to Polarion site and low and behold, SVN support was working, kind of. I could at least browse my svn repositories it just wasn't working with my projects. Regardless when I noticed svn was working, my mind was made up, I was going to use subversive... what I didn't realize is that it takes some work to migrate to subversive from subclipse, and I only realized this after I hosed the local copy of one of my projects... thankfully I had a backup of the latest version on another machine I was testing on. This is when I read the 'proper' way to move from subclipse to subversive... basically after some digging through the forums site for subversive I found that a number of users had similar issues, this makes sense since for many years now, subclipse was the only option for subversion access in Eclipse.
So basically here are the steps I had to use:
- install Subclipse, plugin only, not all the extra subversion packages it 'recommends' or chances are Eclipse will crash after startup.
- restart Eclpise
- 'Disconnect' all projects using Subclipse
- restart Eclipse
- uninstall Subclipse
- restart Eclipse
- install Subversive including svn connectors not available in the Eclipse repository that are available on the Polarion update site
- restart Eclipse
- one by one, 'Share Projects' for each project that was previously shared via Subclipse and select 'use existing information'
- cheer since you should hopefully be done and all should now work using Subversive, well at least as far as I can tell, it works on my end.
4 comments:
This helped me greatly solving the same problem. Thanks,
I'm having trouble installing Texlipse for Ganymede on Mac OS X. The specs for my install almost mirror yours. The installation comes up with some dependency error, that when I look at closely, seem to want SVNKit win32 components. Wanted to get your thoughts on it.
kishalay...its been a while since I wrote this (okay only 2 months, but my short term memory stinks) but if i remember correctly I had a similar error with the SVNKit until I realized I needed to get it from the Polarian update site (see the post for the link) since it is not included in the SVN team project update site. As for Texlipse, I'm not sure why it is depending on SVN.... that said, I probably installed it before SVN since my first goal was to be able to edit all my various projects, second goal was to be able to sync with SVN since I knew if worse came to worse I could always depend on the CLI version of SVN
hey nick....i did install the svn connectors (although the svn integration didn't install) from the polarion site, and my svn stuff works fine now....thanks so much for the post, because the 10 min crash was getting on my nerves....and your post was perfect for me....
couple more comments:
the svn connectors from polarion that work on ganymede are "http://.../ganymede-site/" and not "http://.../update-site/"
also, the "update link" on your post seems deprecated....probably due to the fluid nature of the whole subversive thing....
i'll try to see if the texlipse guys have any updates....i don't want to disconnect svn if i can help it.
one last comment....the phrase i believe is "worst comes to worst" (archaic) or "worse comes to worst" (modern)....not trying to be a dick :)
Post a Comment