Document Information

Last modified:
2011/02/22 12:31 (external edit)

This is documentation for qooxdoo 0.8.x only. You might be interested in consulting the latest docs.

Default Generator Jobs

This page is work in progress, and information provided might be preliminary or incomplete.

This page describes the jobs that are automatically available to all skeleton-based applications (particularly, applications with config.json files that include the framework's application.json config file). Mainly this is just a reference list with short descriptions of what the jobs do. But in some cases, there is comprehensive documentation about the interface of this job and how it can be parameterized.

Action Jobs

These jobs can be invoked with the generator, e.g. as generate.py <jobname>.

api

Create api doc for the current library. Use the following macros to tailor the scope of classes that are going to show up in the customized apiviewer application:

API_INCLUDE = [<class_patt1>, <class_patt2>, ...]
API_EXCLUDE = [<class_patt1>, <class_patt2>, ...]

The syntax for the class pattern is like those for the include config key.

build

Create build version of current application.

clean

Remove local cache and generated .js files (source/build).

distclean

Remove the cache and all generated artefacts of this library (source, build, …).

fix

Normalize whitespace in .js files of the current library (tabs, eol, …).

inspector

Create an instance of the Inspector in the current application. The inspector is a debugging tool that allows you to inspect your custom application while running. You need to run the source job first, the run the inspector job. You will then be able to open the file source/inspector.html in your browser. The source version of your application will be loaded into the inspector automatically.

lint

Check the source code of the .js files of the current library.

migration

Migrate the .js files of the current library to the current qooxdoo version.

pretty

Pretty-formatting of the source code of the current library.

source

Create source version of current application.

source-all

Create source version of current application, with all classes.

test

Create a test runner app for unit tests of the current library. Use the following macro to tailor the scope of classes in which unit test classes are searched for:

TEST_INCLUDE = [<class_patt1>, <class_patt2>, ...]

The syntax for the class pattern is like those for the include config key.

test-source

Create a test runner app for unit tests (source version) of the current library.

test-inline

Create an inline test runner app for unit tests of the current library.

test-native

Create a native test runner app for unit tests of the current library.

translation

Create .po files for current library.

Includer Jobs

These jobs don't do anything sensible on their own, so it is no use to invoke them with the generator. But they can be used in the application's config.json, to modify the behaviour of other jobs, as they pick up their definitions.

common

Common includer job for many default jobs, mostly used internally. You should usually not need to use it; if you do, use with care.

libraries

This job should take a single key, library. Here, you can add additional libraries and/or contributions you want to use in your application. See the linked reference for more information on the library key.

profiling

Includer job, to activate profiling.

Information

Last modified:
2011/02/22 12:31 (external edit)

Account

 
 
A book on qooxdoo RIAs, authored  by community members
JS Tutorial, JavaScript Tutorial, JavaScript Guide, Learn JavaScript JS, How To Learn JS, Learning JavaScript
 

Bad Behavior has blocked 0 potential spam attempts in the last 7 days.