Giter Site home page Giter Site logo

starter-jpa00's Introduction

STARTER-jpa00

Starter code for jpa00

Assignment Description: https://ucsb-cs156.github.io/s24/lab/jpa00

This lab is a simple `"Hello, World!" type assignment to familiarize you with compiling Java using Maven, and submitting using Gradescope.

Explanation of files

Top level

  • README.md It is considered good practice to document every git repo with a file called README.md. The .md extension refers to MarkDown, which is a format that allows you to create nice looking documents working from plain text. The source code is human readable, and when formatted, it looks even nicer. The text you are reading right now is written in Markdown in the README.md file.

  • pom.xml This file is similar to a Makefile when working with C/C++ programming. This file works with a piece of software called Maven.

    For more information, see the links below where both Maven, and the specific pom.xml in this project are explained in more detail.

  • The mvnw and mvnw.cmd (along with the hidden subdirectory `.mvn) are collectively referred to as the maven wrapper. They provide a way for Java programs to use the Maven utility without having to install it.

    Anywhere in the instructions you see mvn followed by a command, if you don't have the mvn command on your system (i.e. you get the error mvn: command not found) you can use ./mvnw in place of mvn (or on Windows, mvnw.cmd). More information can be found here: https://www.baeldung.com/maven-wrapper

  • src This directory contains the source code for this project.

    All Maven projects must have a src directory at the top level.

  • src/main/java This directory is the directory where all Java code for a Maven project (other than test code) is expected to live.

    Once we introduce packages, we'll also see levels of directories under src/main/java that correspond to the package structure, but for simple projects without packages, we put our code directly here.

  • src/main/java/Hello.java This is the source file where our "Hello, World!" program can be found.

Hidden Files

If you use ls -a on this directory, you should the following hidden files:

  • .mvn This is the maven wrapper subdirectory (see above).

  • .git This is the subdirectory in which the git repository keeps a a record of all the various versions of the files in the repo, as well as metadata about the files in the repository.

  • .gitignore This file is a list of files and filename patterns that should be ignored by git. These files are ones that should not be stored in the git repository; many are generally files produced by compiling the code.

    See https://ucsb-cs156.github.io/topics/git_gitignore.html information.

starter-jpa00's People

Contributors

pconrad avatar georgebigg avatar phtcon avatar scottpchow23 avatar andrewpengucsb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.