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-username
whereusername
is your Github username. -
Go to the
.github/ISSUE_TEMPLATE
directory in the Github website interface, and open both of the issue templates. Click the “Edit” button and modifyFULL_NAME
to be your full name,GITHUB_USER
to 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-tools
to 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-tests
repository 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-username
andrepos/project-tests
share the same parent directoryrepos
. -
Verify you can run the
Project1Test.java
set of tests in the “Project Tests” project in Eclipse. -
Verify you can make, commit, and push changes to
Driver.java
in 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.