In this article we are explaining how setup Eclipe project first time. Here we are discussing SVN Checkout process to setup project on local. Also i shared my way for project setup that prevent you from project loss in case of system crashed that i learn in my life.
Step 1: Download
Download the latest version of your favorite desktop IDE (Integrated Development Enviromenent) Eclipse from here https://www.eclipse.org/downloads/. You will get .tar.gz or .zip or .rar depending on what OS(Operating System) you are using.
Step 2: Install
After completing downloading process install it on your local machine. I will suggest if you are windows user then install it on other drive except C drive like D Drive or E Drive depends on your choice. It will help if some how your system is crashed then your eclipse will be safe. Try to follow same suggestion for other OS if you using Linux then try to use other drive except home drive like /usr or /opt.
Step 3: Folder Structure
After completing installation process, it’s time to create folder structure. In my programming life i always try to follow one pattern that i shared here. Create your parent folder in my case i am taking MyProject inside that create two different child folder sourcecode and workplace. Workplace for launching eclipse and sourcecode for project location. Here also i suggest don’t go with C drive or home drive for same reason that i mention already in Step 2.
Step 4: Open Eclipse
Now it’s time to run your favorite IDE. When you open eclipse Workplace Launcher window will open here select your workplace folder that you created in MyProject -> workplace folder (Step 3) and select do not ask option so next time it will launch through same workplace.
Step 5: Checkout through SVN
If you are working in IT company and part of developement team then you need to sync your project time to time. SVN (Subversion) is a software versioning and revision control system. Software developers use Subversion to maintain current and historical versions of files like source code, web pages, and documentation. There are many tools are available but here we are considering SVN as example. If you try other tools the operation will be same.
Here we are discussing only one process of SVN. The operation that make duplicate copy of Server Project (Repository) on your local for first time are called Checkout. To find this option click on Open Perspective -> Add SVN Repository -> URL (URL will be location of Project on server like http://192.168.12.65.60/svn/trunk) right click on that repository folder and take checkout under sourcecode folder that we created in Step 3. Now your local project liked with server repository.
Step 6: Import existing project
You can skip this step if you have taken Step 5. This step is valid only for those who want to import there existing projects into eclipse. To import existing projects click on File -> Import -> General -> Existing Project into workplace -> Browse.
Please write your comments if you find this article helpful. We are always welcome for your suggestions.