Question: Boot into your Linux partition (or open Linux in a VirtualBox VM). You will create a new directory in your home directory called csci2020u/lab02. Well
Boot into your Linux partition (or open Linux in a VirtualBox VM). You will create a new directory in your home directory called csci2020u/lab02. Well add this folder to the Git repositories. Use the following steps to complete this lab:
1. Change into the csci2020u directory
2. Make a new directory, called lab02
3. Add the lab02 directory to Git
4. In the lab02 directory, create the directory structure used by Gradle (the files will be initially empty, you can create them with the touch command): lab02 build.gradle src main java csci2020u lab02 SimpleTest.java 5. Modify the build.gradle file to allow compilation and running of a Java program
6. Create a .gitignore file to ignore files that are normally not committed to a repository (e.g. .class files)
7. View all of the available Gradle tasks added as a result of the change
8. Add some code to the SimpleTest.java file; a simple hello world will suffice, but be sure that the package name matches the directory structure
9. Compile the code
10. Run the code by hand by changing to the build directory and using the java command
11. Commit changes locally, and push all changes to the remote repository
Step by Step Solution
There are 3 Steps involved in it
This is a complete question Here are the steps for completing the lab as outlined in your question Step 1 Change into the csci2020u Directory Open you... View full answer
Get step-by-step solutions from verified subject matter experts
