-
Notifications
You must be signed in to change notification settings - Fork 49
Eclipse Tutorial
krivard edited this page Jun 1, 2015
·
2 revisions
- Create a new Java Project in Eclipse. Name it whatever you want the final name to be. We'll call it "ProPPR"
- Close the project (right-click and "Close Project")
- Go to a shell and clone a fresh copy of the git repo, but call it 'tmp': $ git clone https://github.com/TeamCohen/ProPPR.git tmp
- Copy the Eclipse dotfiles into your fresh checkout: $ cp ~/workspace/ProPPR/.project tmp/ $ cp ~/workspace/ProPPR/.classpath tmp/ $ cp -r ~/workspace/ProPPR/.settings tmp/
- Delete the directory created by Eclipse: $ rm -rf ~/workspace/ProPPR
- Move the git directory over top of where the Eclipse directory used to be: $ mv tmp ~/workspace/ProPPR
- Go to Eclipse and open the project. You should see the ProPPR source tree.
- Finish setting up the classpath in Eclipse:
- Select all the .jar files in lib/ and add them to the build path
- Add src/java/main as a source directory
- Add src/java/test as a source directory