Wednesday, August 26, 2015

Apex Class Version Control Eclipse Salesforce

As per business , Now Source code management has become viable for successful implementation where team is collaborating .In a Cloud collaboration environment ,where team is putting efforts to minimize daily basis overhead regarding code and its version who did what and when.

so here are how we can maintain source code version  in cloud.

Initial Set Up:

 Source Code repository
         Create SVN repository for source code : (visit:   https://www.assembla.com/subversion/)

  Configuring SVN In Eclipse: 
      Here are some steps through which you can easily setup  SVN tool in Eclipse:
  
  1.  Go to Eclipse
  2. Eclipse--> Help Tab
  3. Click on Eclipse MarketPlace
  4. Search for "Subclipse"  (its a plugin to maintain version)
        Popup window will open--->Click on Install
      5.Click on finish
      6.Warning Message will Appear---> Click on Ok ,after reading message.Eclipse will restart.







        7. Now on Eclipse : Click on "Open Perspective" icon as shown below,PopUp window will open 
          showing "SVN Repository Exploring",Right Click  on "SVN Repository Exploring"--->Click on new-->
         Popup window will open  to add "SVN Repository" -->add Repository URL as specified in Image
          -->On Click on finish button--> Now you are up with SVN :)
         


              





         






 8. Now open existing force.com project

    Right Click on Project -->Go to Team-->share-->select SVN --Click on Commit

,add your comment and done.

9. Setup your Team, and their credential in  www.assembla.com.
10. Now you are up for check-in check-out/lock /unlock in eclipse for apex classes
/triggers.
    












     
   1c7e927dc4de2fc54f11a482950666a1c9a23f41124bfad450

2 comments: