You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stritti edited this page Sep 5, 2017
·
9 revisions
This page will give you a short overview about the project and how it is built.
Overview
Log4js is currently one JavaScript file (in release). In the sources it is splitted into several files wich can be modified by any editor.
All the environment around will support us in having 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
Core Javascript log4js library
To build the JavaScript library we use npm and grunt.
cd log4js
npm install
grunt build
Include then include the target/log4js.min.js file in your project.
Java addons
This section may be outdated
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
Task
Description
clean
Cleans the project from generated files.
dist
distributes and compiles to target directory /build.
doc
Create the JSDoc files to the directory /build/doc/api.
release
Creates release archives.
download-dependencies
tries to download all required libraries, like JSDoc, JSLint and extract them to the /toolsdirectory.