You can get the start of this project from github and then import it into an Eclipse workspace rather than starting completely from scratch. The start of each tutorial will use the following tag format:
Here are the steps to get started:
- Clone the repository from github:
Note: I’m writing this as I just created the git repository, you will see different output than the above
- Change to the directory:
- Switch to the tag:
Note: This warning is telling you that you are not working on a branch. Since you are not working on the branch, you won’t easily be able to commit the work that you do. If you plan to either work with your code from tutorial to tutorial, that is OK. However, if you’d like the option of checking in your work (maybe a branch per tutorial), then you’ll want to create a branch as well.
- To save your work in a branch:
Now you have the option of working, checking in your work on this branch, and then switching to another tag and starting over.
Configuring Eclipse
Now, you’ll need to create a workspace:
- Start Eclipse
- Set the workspace equal to the directory where you cloned the repository, e.g., /Users/schuchert/src/fitnesse-tutorials
- Close the initial screen.
- File::Import…::General::Existing Projects into Workspace
- Click Browse, then click Chose, or enter the workspace directory, e.g., /Users/schuchert/src/fitnesse-tutorials
- Confirm that DVR is already selected.
- Click Finish
-
Set the JDK to 1.6: Eclipse Properties (Mac: command , pc: File:properites):Java:Compiler:Compiler Compliance Level:1.6).
Get Going!
Now is a great time to start the first turtorial. Previous
Comments