Document Information

Last modified:
2007/06/01 10:04 by thron7

qooxdoo Makefiles - application.mk

The variables in the Makefile come in the form of key=value pairs. Default values are given for most variables. After setting a variable you can later refer to its value using the $(<variable_name>) syntax. See below.


(version 6564)

REQUIRED SETTINGS

QOOXDOO_PATH

default: PLEASE_DEFINE_QOOXDOO_PATH

Path to the folder of your qooxdoo distribution. Can either be a) a relative path to the location of this Makefile (preferred) or b) an absolute path starting at the root of your file system Example: If you put the skeleton folder next to the qooxdoo SDK folder, you can use the following relative path: QOOXDOO_PATH = ../qooxdoo-0.6.5-sdk Please note that Windows users should always use relative paths. It should end with the last directory. Please omit a trailing slash.

APPLICATION_NAMESPACE

default: custom

Namespace of your application e.g. custom Even complexer stuff is possible like: net.sf.custom

BASIC SETTINGS

APPLICATION_CLASSNAME

default: Application

Full application classname

QOOXDOO_URI

default: ../$(QOOXDOO_PATH)

Similar to QOOXDOO_PATH, but from the webserver point of view. Starting point is now the application HTML file in the source folder (source/index.html by default). In most cases just prepend a “../” to QOOXDOO_PATH from above. Example: QOOXDOO_URI = ../../qooxdoo-0.6.5-sdk The assigned value should end in a directory name. Please omit trailing slashes.

APPLICATION_NAMESPACE_PATH

default: $(shell echo $(APPLICATION_NAMESPACE) | sed s:\\.:/:g)

Namespace defined as a directory path. Even complexer stuff is possible like: net/sf/custom Normally the namespace given will be automatically translated.

APPLICATION_MAKE_TITLE

default: $(shell echo $(APPLICATION_NAMESPACE) | tr “[:lower:]” “[:upper:]”)

Title used during the make process. Default is the uppercase variant of your custom namespace.

APPLICATION_API_TITLE

default: $(APPLICATION_NAMESPACE)

Title used in your API viewer Default is identical to your custom namespace.

APPLICATION_FILES

default:

Files that will be copied from the source directory into the build directory (space separated list). The default list is empty.

APPLICATION_LOCALES

default:

Locales to use (space separated list) To set a specific locale like “en_US” the generic locale “en” has to be added as well Example: APPLICATION_LOCALES = en en_US de de_DE es

APPLICATION_HTML_TO_ROOT_URI

default: .

Defines the position of the HTML/PHP etc. file used to include your application JavaScript code in relation to root directory. The root directory meant here is your source or build directory. Even if we this is about directories all the time, this setting configure the URI and not a file system path. If your HTML file is placed directly in source/build you can simply use the default “.” (without quotation) here. If your HTML file is placed in source/html/page.html you can configure this setting to “../” (without quotation) for example.

SILENCE

default:

SILENCE

default: @

By default the complete command line of the called programs is hidden. Setting VERBOSE to true shows the complete commands

GENERATOR OPTIONS

APPLICATION_COMPLETE_BUILD

default: false

APPLICATION_COMPLETE_SOURCE

default: true

APPLICATION_COMPLETE_API

default: true

Customize your application tailor mode

APPLICATION_LINEBREAKS_BUILD

default: true

APPLICATION_LINEBREAKS_SOURCE

default: true

Customize line break settings If enabled code is better readable, but bigger, too. Normally not useful for distribution.

APPLICATION_OPTIMIZE_STRINGS

default: true

APPLICATION_OPTIMIZE_VARIABLES

default: true

APPLICATION_OPTIMIZE_BASE_CALL

default: true

APPLICATION_OPTIMIZE_PRIVATE

default: true

APPLICATION_OPTIMIZE_BROWSER

default: true

APPLICATION_OPTIMIZE_REMOVE_DEBUG

default: true

APPLICATION_OPTIMIZE_REMOVE_COMPATIBILITY

default: true

Configure optimizer settings

APPLICATION_ENABLE_GUI

default: true

Configure if support for widgets should be included

APPLICATION_RESOURCE_FILTER

default: false

Configure resource filter If enabled all application classes needs a embed configuration, too.

RUNTIME SETTINGS

APPLICATION_THEME_ICON

default: qx.theme.icon.Nuvola

APPLICATION_THEME_WIDGET

default: qx.theme.widget.Windows

APPLICATION_THEME_COLOR

default: qx.theme.color.WindowsRoyale

APPLICATION_THEME_APPEARANCE

default: qx.theme.appearance.Classic

Theme selection support

APPLICATION_SOURCE_LOG_LEVEL

default: debug

APPLICATION_BUILD_LOG_LEVEL

default: debug

APPLICATION_SOURCE_LOG_APPENDER

default: qx.log.NativeAppender

APPLICATION_BUILD_LOG_APPENDER

default: qx.log.NativeAppender

Logging settings support

SOURCE TEMPLATE SETUP

APPLICATION_TEMPLATE_INPUT

default:

APPLICATION_TEMPLATE_OUTPUT

default:

APPLICATION_TEMPLATE_REPLACE

default: &lt;!– qooxdoo-script-block –&gt;

Template to patch (e.g. XHTML mode)

DETAILED PATH CONFIGURATION

APPLICATION_SOURCE_PATH

default: ./source

The source folder of your application from the directory which contains the Makefile (if defined relatively). This folder should contain all your application class files and resources. The default is ./source.

APPLICATION_BUILD_PATH

default: ./build

The build folder of your application from the directory which contains the Makefile (if defined relatively). This is the folder where the application self-contained build is generated to. The default is ./build.

APPLICATION_API_PATH

default: ./api

The API folder of your application from the directory which contains the Makefile (if defined relatively). This is the destination target where the self-contained API viewer should resist after a “make api”. The default is ./api.

APPLICATION_DEBUG_PATH

default: ./debug

Define the debug location from the directory which contains the Makefile (if defined relatively). The default is ./debug.

APPLICATION_PUBLISH_PATH

default: ./publish

Define the publishing location from the directory which contains the Makefile (if defined relatively). Could be any rsync compatible url/path The default is ./publish.

OUTPUT OPTIONS

APPLICATION_SCRIPT_FILENAME

default: $(APPLICATION_NAMESPACE).js

Name of the generated script

ADDITIONAL CONFIGURATION

APPLICATION_ADDITIONAL_CLASS_PATH

default:

APPLICATION_ADDITIONAL_CLASS_URI

default:

APPLICATION_ADDITIONAL_SCRIPT_OPTIONS

default:

APPLICATION_ADDITIONAL_BUILD_OPTIONS

default:

Additional class paths and URIs. These should be comma separated. The generator option will be automatically added

Information

Last modified:
2007/06/01 10:04 by thron7

Account

Not logged in

 
 

Job Offers

To further improve qooxdoo we are seeking javascript developers. Read more...

Rich Ajax Platform (RAP)

RAP uses qooxdoo, Java and the Eclipse development model to build rich web applications. Read more...

qooxdoo Web Toolkit (QWT)

Similar to GWT this framework allows to create impressive qooxdoo applications just using Java. Read more...

Pustefix

Pustefix is a MVC-based web application framework using Java and XML/XSLT. Read more...

 
SourceForge.net Logo

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