ARTICLE :
 

Subversion integration with Eclipse User Guide

by Yogaraj Khanal on July 26th, 2011

Introduction

This article demonstrates the integration of Subversion with Eclipse IDE for collaborative development of software applications.

Background

This tutorial assumes that you have fair understanding of web applications development and deployment process and basic system administration process and UNIX skills. The main purpose of this tutorial is to highlight the use of popular open source framework Subversion with popular Eclipse IDE.

This tutorial is targeted for developers, QA analysts, System admin, researchers and any other stake holders that want to use different system for different purposes. This tutorial highlights the integration of two most popular open source projects viz. Eclipse IDE and Sub version.

Detail

Eclipse is popular open source IDE used all around the world for development of the enterprise applications. It is used by many developers because of its fabulous performance and numerous features available that supports all kind of development purpose.

You can download the latest version of Eclipse from this site:
http://www.eclipse.org/downloads

For this tutorial purpose I am using Eclipse Classic 3.7. I prefer this version because you can download it from anywhere all you need is internet connection. Also you just need to unzip and click on eclipse executable file with eclipse logo on it without having admin rights. This is how it looks like when you unzip it.



Subversion is popular open source framework for version control widely used in software industry for its ease and flexibility of the use. You can learn more about subversion from here.
http://tortoisesvn.net/
http://subversion.tigris.org/

You can download subversion as a separate project and integrate with eclipse or you can use it as plugin. Plugin development is widely used nowadays because its ease of use and integration and removal with dependency with other software packages. For this tutorial purpose I am just going to scope my article with subversion plugin integration with eclipse.

After you get open the eclipse clicking above highlighted icon you need in install the plug-in to make Remote System Explorer available to you. You don’t need any administrative privilege to perform this task. Then you go to the Help tab and select Install New Software from the dropdown options and you will see the screen below. Again this is the breadcrumb for the navigation to select subversion plugin.
Help->Install new software ->Select (All available sites) in the Work with input box->Collaboration
and you will see the view as shown in the picture that describes hundreds words below. Please check the one that says subversion as follow.



After that you click on next button agree with their agreement and install it then choose restart yes immediately after installing it. When you restart you will get popup screen to choose connectors as below.



Use can choose one or many connectors that you like and then click finish.

After this step you are ready to import project using subversion. Go to the File->New->Other ->Expand subversion as shown in the diagram and click on the next button.



Then after you click next it will ask you for the URL where you want to check out code from as shown in the screen below.



It might ask you to create new Project with standard Eclipse new project creation wizard where you want to check out your code. After you complete the step you can see your project files being download as below.



Depending on size of your project, internet speed and other factors it might take some time to get your entire project. Then you can play around with the code that you have download.

Conclusion

This article demonstrates how you can integrate subversion plugin in Eclipse IDE and import your source files to your IDE. Any suggestions or feedback is appreciated. Please free to send me your comments through this site or my personal email yrkhanal@gmail.com . I would like to hear your comments and suggestions regarding this article.

Author:

Profile Photo
Yogaraj Khanal
Date: July 26th, 2011

Comments: