Disponível somente no TrabalhosFeitos
  • Páginas : 7 (1619 palavras )
  • Download(s) : 0
  • Publicado : 19 de novembro de 2012
Ler documento completo
Amostra do texto
How to get an SVN client up and running on your machine… and a short Eclipse tutorial

Nikolas Wolfe, Repository Manager
CEN 3031, Summer 2008
(Damn right I’m logging these hours)

At the END of this tutorial…

• you will know how to write and run Java programs in Eclipse
• you will have an SVN client (Subclipse or Tortoise SVN)
• you will have the JAtlantik project built onyour local machine

This does NOT explain how to do commits or merging. I will save that for a later document.

Purpose: We’re using a version control system for this project because it’s a large body of code that we will all be simultaneously working on. Versioning software preserves a single atomic copy of the project code and resolves conflicts caused by multiple people working on the samecode at the same time.

Google project hosting gives us access to a free repository server where we can store our code, update our local copies, and commit changes as we continue to work on it throughout the semester.


Note: You NEED a Google account to access the code! Send me ( your Gmailaddresses so that I can add you as project members. If you gave me your address already then you should be able to log in.

This repository uses an open-source version control system called Subversion (SVN). Read about it here if you want:


There are TWO ways that I will explain how to do this:

1. By directing you toGoogle’s Subversion tutorial for Tortoise SVN

2. Step-by-step how to install Eclipse and the Subclipse Subversion Plug-in
Step 1: Getting Eclipse on your machine

Step 2: Setting up your workspace

Step 3: Creating and running Java projects

Step 4: Getting the Subclipse SVN Client

Step 5: Checking out JAtlantik

1.) UsingGoogle’s Tortoise SVN tutorial (Skip this if you’re going to use Eclipse)

There’s links to a bunch of SVN clients here as well. Use whatever you feel fits your Java developing environment best. (Note: SKIP the section on “Creating a New Project”, as we already have one.


When you reach the point where you need to put in a URLfor the SVN repository, use this address:


Note: You MUST use https:// as opposed to http:// for a SECURE transfer!

2.) Using Eclipse and the Subclipse Plug-In (Cool people do this!)

Step 1: Get Eclipse on your machine if you don’t have it! (Skip to Step 4 on Page 8 if you do)
Go to, select “EclipseClassic 3.3.2”, and an appropriate mirror site. Download, extract, and install. You know the drill.


Step 2: Set up your workspace
After you install, when you first start Eclipse you’ll see this window:


I recommend you use the default workspace they assign you and then check not to ask you again. If you need individual Java files created in an Eclipse project down theroad, it is easy to go to \..\workspace\\src and copy and paste.

Step 3: Create a Java project and run it
Creating and running Java programs in Eclipse is easy. When you first open up the workspace you should see your “Package Explorer” on the left. All projects in your workspace are shown here and you can navigate through the project hierarchy.


If you’re new, you won’t have anyprojects here, of course. To CREATE a new project:

A.) Right click in the Package Explorer. Go to “New”, then “Project…” The keyboard shortcut is Alt+Shift+N, and then select “Project…”

B.) You’ll then see the New Project Wizard:


Just press “Next” here…
C.) You’ll then see this window. Just give it a name and press “Finish.”


…And you’re done! You should see a new...