Document Information

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

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

Generating from source

This information only applies to the downloadable "SDK version" and to the "SVN checkout", but not to the downloadable pre-generated "build version" of qooxdoo.

Change to the frontend directory inside your qooxdoo checkout. (Windows users with cygwin might find it easier to place the unzipped qooxdoo directory directly in the C drive, so that you only need to enter cd C:/qooxdoo-<version>-build/frontend into the cygwin Bash Shell)

$ cd frontend

Continue with one or all of the following commands. (If you get the following error: make: *** No targets specified and no makefile found. Stop., then you've most likely downloaded the *Build* version of qooxdoo by mistake)

Generate build version

$ make build

It can take some time to build everything. If it gets a long way through, but fails after the line CREATION OF DEMO LAYOUT (BUILD) with a number of strange errors, you've most likely got to change the default text file handling of Cygwin. See Installing Cygwin (you can run the installer again at any time to change options).

This will generate all builds including the demos and the api viewer. Afterwards you can open your browser and point it to one of:

  • Demo viewer: demo/build/index.html
  • API viewer: api/build/index.html

Generate source version

The source version is - and that's maybe new for many developers - a runable version of qooxdoo which uses the source files instead of the "compiled" ones. This version is a bit slower than the build. Especially regarding the intial load time of each qooxdoo page/application.

To prepare the source version you must also run a make command:

$ make

This will generate all source versions including the demos and the api viewer. Afterwards you can open your browser and point it to one of:

  • Demo viewer: demo/source/index.html
  • API viewer: api/source/index.html

Cleanup

To cleanup your checkout you have multiple options.

# Cleanup resources and demo files
$ make clean
 
# Also delete the cache and removes temporary editor and SVN files
$ make distclean

Don't worry, after cleaning you can always re-create all necessary files using make.

More advanced developers could also make use of custom builds to configure a optimized qooxdoo version for their application.

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.