config.mobl
The config.mobl configuration file located in the root of your project starts with "configuration" followed by:
title "mymobltitle"project titlestdlib "/path/to/mobl-lib"path to standard librarylib /path/to/lib/diradds a directory to the search path for modulesoutput "www"the directory to generate regular (non-optimized) output filesrelease output "www.release"the directory to generate optimized output files todatabase "mydb"the name of the database used locally to store data (defaults to the application name)offlinegenerates a HTML5 Application Cache manifest (experimental)version "1.0"specifies the version of your applicationresource /path/to/resource/filespecifies a resource to be included (used for icons, language packages and such)icon /path/to/icon.pngspecifies an (128x128 pixels) icon to use for the application - is currently only used for the generated Chrome WebApp manifest; be sure to also add the icon as a resource
native
native{}in this section you can specify the options for using Phonegap cloud service.username "[email protected]"the username of the Phonegap cloud service.password "password"the password of the Phonegap cloud service.platforms android, blackberry, symbian, webos, iosa comma seperated file of the platform which needed to be build.
Example:
configuration
title "mymobltitle"
native {
username "[email protected]"
password "password"
platforms android, blackberry, symbian, webos, ios
}
Syntax
Start ::= "configuration" Setting*
Setting ::= "title" STRING
| "database" STRING
| "icon" Path
| "version" STRING
| "stdlib" Path
| "lib" Path
| "html" FILENAME
| "output" STRING
| "release" "output" STRING
| "offline"
| "debug"
| "native {" NativeSetting* "}"
NativeSetting ::= "username" STRING
| "password" STRING
| "platforms" PLATFORM
Path := {FILENAME "/"}+
| "/" {FILENAME "/"}+
| STRING
config.mobl.txt · Last modified: 2013/10/01 02:28 (external edit)
