Set Up SVN For RBE Classes

From WPI Automation and Interventional Medicine (AIM) Robotics Laboratory

Jump to: navigation, search


Here is a tutorial for setting up your SVN access.

Contents

Set Up Account

The first thing you should do is to get your SourceForge Account. You start the process by going to:

https://sourceforge.wpi.edu

and logging in. If you have not yet gotten an account, then you will need to to do so.

Create Account.JPG

Create Your Project

Once you have logged in, go the the projects tab. For this class you will need at least one project for your personal code.

Add Project.JPG


Set Up New Project.JPG

After this step you have to wait for the SourceForge administrator to approve the project. Once it is approved you have to create the repository for that project. This repository is the place where the actual code is kept in the SVN server and should be the same name as the project except all lower case. You will once again have to wait for the administrator to approve the repository.

Create Repository.JPG

Once you get confirmation that your repository has been created, you are ready to start using the project. Now open Eclipse for the next steps.

Setting Up Your Workspace

In Eclipse, open the SVN repositories view.

Window>Show View>Other>SVN>SVN Repositories

New View.jpg

A new tab will open at the bottom of your workspace. Right click in this tab and select:

New>Repository Location...

And in the URL enter your repository location. It will look something like this:

https://sourceforge.wpi.edu/svn/repos/kevin_harrington_personal

Once the repository is added to eclipse you can add your folders to it by right clicking on the repository:

New>Remote Folder

You will one folder named 'AVR' in order to pass in code YOU WILL NOT BE ABLE TO HAND IN CODE ANY OTHER WAY

Checking Our Your Project

First you need a folder named 'AVR'. To do the assignments you will check out AVR into your workspace. Right click on the folder you created and select "Checkout..." You want to set up the project as an AVR project so you will need to use the New Project Wizard.

Checkout.jpg


Also note that you want the AVR Application, not the static library option.

Project Name.jpg

Check off Release, and un-check Debug, then hit next. When you see the AVR configuration screen set up the fields with what the hardware in class will be using.

AVR Config.jpg

Adding Files

This folder will have your .project file in it. This is a hidden file that tells Eclipse how the project is configured. This standardization allows your project to be checked out whole and run against the test suit for


Be sure to read Instructions for turning in assignments carefully for the process to turn in homework and lab code.

Project Group Code

For each project group, one of you will have to be the project admin. This will be assigned at the start of the class and this person will also be responsible for the box. As the admin you will run through this whole process again except with a few small additions.

  • The name of the project/repository/workspace project will be different
    • FIRSTNAME_LASTNAME_Group_Code_RBE3001
    • Projects NOT in this format will be ineligible for grading
    • This will mean all project submissions will be associated with that persons name, this is to avoid name conflicts in future years and to differentiate the groups
  • This new project will have to have the other members of the group as Administrators in addition to access by the graders
  • You can not reuse the personal project, adding another classmate to the personal project can be seen as cheating
Personal tools