Log4js
 

Font size:      

Development of Log4js

This page will give you a short overview about the project and how it is built.

Overview

Log4js is currently one JavaScript file and can be modified by any editor. All the environment arount this file is not nessessarily required to continue development, but will support us in having some stable processes in

  • verify sources using jsLint
  • run unit tests to have stable versions using JSUnit
  • regenerate API documetnations from sources using JSDoc
  • generate the fully website for publishing
  • generate the archives for releases

Building Project

Coming from Java development, the Apache Ant is used building the project. Ant supports several targets which can be invoked.

To use Ant it is first required to have installed JavaTM first. After that, you can download Ant from the download section of the project pages. Please follow the given installation instructions there.

Main Ant Tasks
TaskDescription
cleanCleans the project from generated files
distdistributes and compiles to target directory /build.
docCreate the JSDoc files to the directory /build/doc/api.
jsLintverifies all JavaScript files.
releaseCreates release archives.
siteGenerates the web site using Apache Forrest.
download-dependenciestries to download all required libraries, like JSDoc, JSLint and extract them to the /toolsdirectory.

Coding Guide

There are only some coding guidelines:

  1. Use tabs for intentions to save characters.
  2. Use descreptive names
  3. appropriate JSDoc is required
  4. jsLint should not raise errors
  5. in future all should be unit tested

How can I contribute?

Every contribution is welcome! There are several ways. Contact us via mailing list, add a feature request or bugfix to the project.

by Stephan Strittmatter