Create a git repository you can access from the github

Assignment Help JAVA Programming
Reference no: EM131836412

Project Assignment

In this project, you will learn to use some of the "team" features of your preferred IDE (Eclipse or NetBeans). We will use the "Git" source code control system to allow all members of the class to work on the same project at the same time, and then to merge in your changes. This is a "real-world" way of working on code; few developers work on real projects by themselves. (And even then, version control is often useful and used.)

The project is a very simple one. The source file SayHello.java has a main method you need to edit. Add a statement to main to greet the class by displaying a unique string (so your contribution differs from other students'), which should include your name. (You are free to add additional output if you desire, such as a quote or joke.)

I have created a Git repository you can access from the GitHub. This repository contains the initial version of SayHello.java, a README.md file, a .gitignore file, and a bunch of other files needed for a Maven project. (There are also some Eclipse IDE project files in there, to make importing into Eclipse easier.) The initial version has a greeting from the instructor you can use as a model for your own additions. (While it is okay to be a little creative, say by adding a joke or quote, just don't go overboard and add too much!) The URL of the repo is shown below, in the step-by-step directions for each IDE. You can also view the project's website (generated by Maven from the initial version).

Following the directions below, you will create a GitHub account for yourself, and clone the current repo. (IDEs generally require a local repo to work with as well.)

You use the Git repo just like any other Java project. When you are done making a set of changes (for this project you only need to add a single line to main), you must commit your changes. That updates the local repository from your IDE's version. Next, you Push your changes to the class' GitHub repo. During this step you may discover another student has committed some changes after you had checked out the project. If so, you will need to mergeyour changes into the new version. You can also update your local copy of the project, over-writing your files with the latest ones from the repository, and make your change again.

You can perform other Git related operations with Eclipse or NetBeans. (Generally, I find the Git interface for NetBeans more intuitive than Eclipse.) It is expected that students will explore some of these operations. Eclipse assumes you may have multiple projects per repo, and thus creates a project top-level folder within the top (root) of the repo. NetBeans doesn't do that by default, but it is perfectly happy either way, so I set up the GitHub class repo using the Eclipse conventions.

Another issue is that Eclipse doesn't easily import non-Eclipse projects with existing sources. It can be done, but it was easier to create the default Eclipse project files and add them to the repo. They should be ignored by NetBeans, and it shouldn't be modifiable by Git; the repo was set to ignore changes to those files.

You can read about using these features with your IDE using the built in help system you have learned to use in a previous project. For more information visit the Git Home, especially the Git book online, and the other resources found on our class web page.

Using either Eclipse or NetBeans (you don't have to use both, although you can) complete the steps shown below for your IDE to setup a Git project. Then edit the shared Java program, test it, commit your change(s), and finally, push your changes back to the central repository (merging if necessary).

The first step is to make sure your IDE includes the latest Git plug-ins. These almost certainly have been installed already, or you may need to add one or more plug-ins for it. See your IDE's documentation to see how to add plug-ins. (You can add some others if you wish, but until you are comfortable with your basic IDE features, I suggest you resist the temptation to install much extra.) You should also check for IDE updates, and install any found.

There are Windows GUI and command line tools for working with Git and/or GitHub. They are not IDEs however; you view your repos, create new ones, and with some tools, add files or commit new versions of files. As the Git plug-ins for Eclipse and NetBeans includes a full version of Git, you don't need any other tool. (That is, this step is optional). Still, it is handy to be able to run various Git commands outside of an IDE, especially when trying to learn.

Reference no: EM131836412

Questions Cloud

Explain lessons individuals from hearing and deaf cultures : There is a greater variety of cultures than those related to ethnicity, religion, or geography. For example, there is also the deaf culture.
Energy of a particular color of orange light : The energy of a particular color of orange light is 3.05×10-22 kJ/photon.
Discuss about the trace cruel and unusual punishment : Analyze the relationship between Totalitarian Political Regimes and genocide in Nigeria.
What is background radiation : What is background radiation? What are the major sources of background radiation?
Create a git repository you can access from the github : Create a Git repository you can access from the GitHub. Create a GitHub account for yourself, and clone the current repo.
Explain how the range could be zero : Question: Explain how the range could be zero if it assumed that no two masses are exactly the same.
Relevant conversion factors as fractions : Write out at least 5 relevant conversion factors as fractions that you'll need to solve the problem.
Discuss some benefits of conducting research : Explain whether there appears to be a strong association between organized crime and politics in the United States.
Functions has the steepest declining slope : Which of the following functions has the steepest declining slope? (t is the independent variable and y is the dependent variable.)

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd