Tuesday, May 15, 2012

Installing and using SVN Plugin in RAD

It is a general practice to keep project's codebase in SVN. For this purpose it is necessary to integrate IDE in this case RAD (Rational Application Developer) with SVN (in this case CollabNet).

If RAD is directly connected with internet and without any corporate policy restrictions of downloads, then the SVN plugin for RAD can be directly downloaded from RAD.
Else the SVN plugin can be manually downloaded from http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240

Installing SVN plugin in RAD


  1. Download site-1.0.6.zip from the above mentioned link
  2. Unzip the file
  3. In RAD, go to Help > Install New Software


   
   4. Click on Add > Local (Provide the path till the unzipped site-1.0.6 folder)
   5.  Provide Name for the Location. Click OK
   6. Select the Subclipse Plugin checkbox and Click Next


   7.  Follow the instructions as per the Wizard and it will install the plugin
   8.  Restart the RAD
   9. In RAD Go to Window > Open Perspective > Others and a New “SVN Repository Exploring”     Perspective will be available. Select that perspective and click Ok.


   10. In the left pane click on can like icon "Add New Repository"
   11. Provide the URL and User and Password for the SVN
  12. RAD is now configured with SVN

Adding a portlet project in SVN


  1. Right click the requisite project in Project Explorer and go to Team > Share Project

      2. Select the SVN repository type
      3. Select the Appropriate Repository location and click Finish
      4. Provide the Comments for SVN when prompted by the Wizard
      5. Portlet Project has now been added into SVN


Import Portlet project from SVN

  1.        Go to File > Import
  2.        Select “Project from SVN”
  3.        Provide the exact SVN location till the Project
  4.        Click finish

Commit and Update

       Right click on the project go to Team > Commit / Update

3 comments:

  1. Has anyone encountered an issue with the Plugins (namely SVN) showing up in RAD 8 after the install? I recently installed RAD 8 while having RAD 7.5 on my machine. The plugin installed file, but the SVN options do not show up in the Perspective nor Menu.
    Anyone else encounter this? Any manual way to register a plugin after it's installed?

    ReplyDelete
    Replies
    1. Yes Curt I have also encountered this problem. Couldn't find a solution. I guess it is related to one plugin per the instance of eclipse of RAD. It shows up in one RAD and does not show in the second.

      Delete
  2. A very clear and elaborate guide. Thanks a lot, Shriraj

    ReplyDelete