GithubHelp home page GithubHelp logo

jtemplate's Introduction

JTemplate

JTemplate is a simple java project skeleton. Use it to start out new java projects without making a big deal out of it. There are no dependencies other than java and ant, and there is no framework or IDE needed. Good for if you don't use Eclipse or Netbeans or whatever.

Quickstart

  1. Edit the build.xml file to your liking. The first few properties are clearly marked, and are expected to be set for your specific project.

  2. Run 'ant init'. This deletes .git and makes you a /src tree with a Main class stub and the resources/, lib/, and doc/ directories for your resource files, external jarfile dependencies, and project documentation.

  3. You're cooking!

Ant targets you might use from here on out (remember ant -projecthelp):

  • 'all' or 'dist'
  • 'clean'
  • 'jar'
  • 'javadoc'

Directories

  • docs: Project documentation. API javadocs will be written to docs/api/ directory. You can include anything you want here (documentation for dependencies, etc).

  • lib: Jar files to be incorporated into the distribution jar file.

  • resources: Resources to be included in the distribution jar file. They will be added to the jar with a path relative to this directory, i.e., resources/foo/bar.jpg will be accessed in java as "foo/bar.jpg".

  • src: Java source files go here.

Files

  • projectname-start.sh Application launcher wrapper script.

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.