Below is a quick summary of the one-time setup needed for the project:
-
Visit the Project 1 Tests assignment in Canvas and click the Github Classroom link to setup a repository named
project-usernamewhereusernameis your Github username. -
Go to the
.github/ISSUE_TEMPLATEdirectory in the Github website interface, and open both of the issue templates. Click the “Edit” button and modifyFULL_NAMEto be your full name,GITHUB_USERto be your Github username, and then delete the “First-Time Setup” text after reading it. Save your changes. -
If needed, setup the Apache OpenNLP user library in Eclipse. See the Adding User Libraries in Eclipse guide for steps. Make sure to name the library
opennlp-toolsto avoid build path problems. -
Import the repository as a Java Project in Eclipse. See the Importing Eclipse Projects from Github guide for steps. This is where you will add your own code for the project.
-
Import the
project-testsrepository at https://github.com/usf-cs212-fall2019/project-tests as a Java Project in Eclipse. This is where you will find all of the test code and data files. These two projects must be located in the same parent directory! For examplerepos/project-usernameandrepos/project-testsshare the same parent directoryrepos. -
Verify you can run the
Project1Test.javaset of tests in the “Project Tests” project in Eclipse. -
Verify you can make, commit, and push changes to
Driver.javain the “Project” project in Eclipse.
Once setup, you do not need to go through these steps again.
Video Walkthrough
This video walkthrough will illustrate this entire process on a Mac OSX system. Please note this video was recorded for a previous semester. Some aspects may have changed slightly since then.