Giter Site home page Giter Site logo

mscs502-java's Introduction

helloworld

Simple hello world application template

Usage

~/helloworld$ java -jar target/helloworld-0.0.1-SNAPSHOT-jar-with-dependencies.jar -h
helloworld
Version: 0.0.1
usage: helloworld
 -h   Display this help text
 -v   Verbose mode

Building

Apache Maven is the build tool of choice. Simply issue mvn install package to install dependencies and build the jar.
Use mvn clean install compile verify test package site to clean up existing targets, install dependencies, verify, run unit tests, build a jar, and create the documentation and reports.

Running

Issue a java -jar target/helloworld-<VERSION>-SNAPSHOT-jar-with-dependencies.jar to run the target directly.

Docker Environment

  1. Download and install Docker https://docs.docker.com/desktop/
  2. Build the mscs502 image by running docker build -t mscs502 . in a terminal
  3. Then run the container based on the mscs502 image with docker run -it --rm -v $PWD:/helloworld mscs502 on Linux or an absolute path in Windows like docker run -it --rm -v /c/Users/MICHAELGILDEIN/mscs502-java:/helloworld mscs502
  4. Use VSCode or your IDE of choice to edit your code locally. HINT: Run code . from the terminal when in the folder to easily open it
  5. Build and run the code as you would locally from the Docker container bash prompt

Tests

JUnit is used as the Test Framework. To execute unit tests run mvn test.
To skip tests, add -Dmaven.test.skip=true as an argument to your Maven command.

Contributing

  • All code (classes, files, global variables, members, and methods) must be thoroughly documented using JavaDoc accepted format. HINT: Use mvn site
  • All existing unit tests must pass. HINT: Use mvn test
  • New unit tests are encouraged!
  • README, help text, makefile, and other artifacts must be up to date.
  • Program version number should be incremented. HINT: In the pom.xml and global variables
  • Use proper git ettiquete with frequent commits and good commit messages.
  • All code must be formatted properly and verified with clang-format. HINT: Use mvn verify
  • Binary files and other metadata shall not be committed. HINT: Update the .gitignore, if necessary
  • No warnings or errors shall be produced by Maven with mvn verify test site compile options.

mscs502-java's People

Contributors

gildmi avatar

Watchers

 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.