Home > Force.com, SalesForce > Version control and Force projects

Version control and Force projects

Ok so a lot of organizations would love to have version control when developing as a team, or even as inviduals.
Source is an important thing to developing anything basiclly. having that said, developing with the force.com IDE which is based on Eclipse allows integration with many opensource/free plugins when Subclipse is one of the best plugin to integrate against a Subversion repository.

What you need?

  1. Force.com IDE
  2. if you are using a 64bit JVM you will also need the slikSVN avilable here

installation in the Force.com IDE is simple simply go to : Help -> Software and Workspace center
Look for the subclipse plugin and install it and whatever plugins you would like to add aswell (see picture below).

Install Subclipse Force.com IDE

After you are done with that, you should be able to right click your force.com project -> Team->Share Project

Choose SVN as the plugin to share the project to.
In the following screen you would be promted with a window asking for the repository path, this is somthing that you should have had set up before or have recived this from the repository admin.
Click on finish and the subversion would create a sub-folder for your project.
Now the last step is to commit the changes to the repository, do this using the Team->Commit changes.

Thats it, you project is sucesfully connected to a subversion repository.
Now if one of your collegues would like to sync against your project:

simply revert to installing the Subclipse plugin, and follow the sync operation to apply synchronization to the SVN Repository the same way.

Sync to Subclipse

Categories: Force.com, SalesForce Tags:
*