edw1nzhao / cs2340_group16

CS2340 Group 16 Crowd-Sourced Water Reporting App
2 stars 1 forks source link

M2 - Version Control (PARRISH MCCALL PERSON 4 FILES) - Left Group #9

Closed edw1nzhao closed 7 years ago

edw1nzhao commented 7 years ago

Introduction

  1. Setup GitHub properly.
  2. Initialize new GitHub repository.
  3. (Edwin) Download M2 (add, commit, push to GitHub).
  4. Create a branch called "original"
  5. Each member clone out project M2 BE SURE original REMAINS UNMODIFIED.

================================================ Work with Git

Complete each of the following at least once:

Edit and commit files

  1. Use the Person4.java files in edu.gatech.oad.antlab.person
  2. Complete according to javadoc
  3. Commit and push back to GitHub.
  4. Edit file edu.gatech.oad.antlab.pkg1.AntLabMain.java at indicated line
    • Basically sending name to constructor of previously edited class.

Add and remove files

  1. Add text file to top level directory labeled "readme.p4.txt".
    • Contents of text file to contain your name and email. Otherwise anything is fine.
  2. Delete text file useless.p4.txt.
  3. Remember to use good descriptive Log comments for changes/commits.
  4. Roll back changes by viewing your original branch from an earlier step. Verify that none of the changes you made are in the project version you checked out.

================================================ Build files

  1. Create a build file using gradle that will allow you to perform key tasks to build the app.
    • Name file gtid.gradle
    • Store your file in the repository.
    • example: gburdell3.gradle
  2. Run gradle with your file (build.gradle is default if no file specified) use the -b option
    • example: gradle -bgburdell3.gradle
  3. Create a jar. Need to create a manifest.
    • tutorial:

Build file should support the following: ss 2017-01-17 at 07 14 58

================================================ Troubleshooting

Some common problems: