Tuesday, May 4, 2010

RAD-Subversion saga

This is my first technical entry !!! So pardon me if i have elaborated on things a bit too much :-)

I had a requirement to install subversion in Eclipse. It took me two days to figure out the steps to install subversion plugin in Eclipse (more specific, RAD). After a day's futile effort to install the plugin, the very first question which sprang up was why do i need this subversion after all..well, they say its very easy to track file changes.

So, finally i was determined to install subversion in RAD. I tried using the software update site but everytime i ended up with the same error message "Could not find OSGI " pointing to some site. At first i tried connecting to the site. It came up instantly with the OSGI bundle. I felt like hitting it hard and showing it the bundle. Bloody i could see it right in the place where it threw an error. If the network is so bad why fail on that bundle only why not something else? I gave up on that method after a few more daring attempts.

Another method is to install it manually and here it goes,
  1.  Download the zip file (site-version.zip) from the subclipse site. well, site zip file is different from deployable zip files. Watch out for it. Deplyoable zip file just needs copying the features and plugins folder of the zip file to that of the eclipse' folder. However, if it is site.zip file, follow the steps given below to complete the plugin installation.
  2.  In Eclipse/RAD, go to Help->Software Updates->Available Software. The names might change depending on the eclipse version.
  3. Click on Add Site and browse to the zip file you just downloaded in the Archive field. 
  4.  It shows the various options available to you. Select the ones needed. You might want to uncheck the mylyn install from subclipse option to avoid further complexities.
  5. Hit Install and you should be done with it (hopefully) :-)