3 * The relative path to the appliaction's markup file (html, jsp, asp, etc.)
5 "indexHtmlPath": "index.html",
8 * List of all JavaScript assets in the right execution order.
10 * Each item is an object with the following format:
13 * // Path to file. If the file is local this must be a relative path from
14 * // this app.json file.
16 * "path": "path/to/script.js", // REQUIRED
18 * // Set to true on one file to indicate that it should become the container
19 * // for the concatenated classes.
21 * "bundle": false, // OPTIONAL
23 * // Set to true to include this file in the concatenated classes.
25 * "includeInBundle": false, // OPTIONAL
27 * // Specify as true if this file is remote and should not be copied into the
28 * // build folder. Defaults to false for a local file which will be copied.
30 * "remote": false, // OPTIONAL
32 * // If not specified, this file will only be loaded once, and cached inside
33 * // localStorage until this value is changed. You can specify:
35 * // - "delta" to enable over-the-air delta update for this file
36 * // - "full" means full update will be made when this file changes
38 * "update": "", // OPTIONAL
40 * // A value of true indicates that is a development mode only dependency.
41 * // These files will not be copied into the build directory or referenced
42 * // in the generate app.json manifest for the micro loader.
44 * "bootstrap": false // OPTIONAL
47 * To use ext-all-debug.js instead of explicitly loading all framework files at
48 * dev time, add the following entry to this js list :
51 * "path": "${ext.dir}/build/ext-all-debug.js"
54 * Note: when using ext-all-debug.js, you also need to disable the loadOrder portion
55 * of the bootstrap manifest. See the "bootstrap" property for details.
66 * List of all CSS assets in the right inclusion order.
68 * Each item is an object with the following format:
71 * // Path to file. If the file is local this must be a relative path from
72 * // this app.json file.
74 * "path": "path/to/stylesheet.css", // REQUIRED
76 * // Specify as true if this file is remote and should not be copied into the
77 * // build folder. Defaults to false for a local file which will be copied.
79 * "remote": false, // OPTIONAL
81 * // If not specified, this file will only be loaded once, and cached inside
82 * // localStorage until this value is changed. You can specify:
84 * // - "delta" to enable over-the-air delta update for this file
85 * // - "full" means full update will be made when this file changes
87 * "update": "" // OPTIONAL
92 // this entry uses an ant variable that is the calculated
93 // value of the generated output css file for the app,
94 // defined in .sencha/app/defaults.properties
95 "path": "${build.out.css.path}",
101 * This option is used to configure the dynamic loader. At present these options
105 * // This property controls how the loader manages caching for requests:
107 * // - true: allows requests to receive cached responses
108 * // - false: disable cached responses by adding a random "cache buster"
109 * // - other: a string (such as the build.timestamp shown here) to allow
110 * // requests to be cached for this build.
112 * "cache": "${build.timestamp}",
114 * // When "cache" is not true, this value is the request parameter used
115 * // to control caching.
117 * "cacheParam": "_dc"
126 * "languageIn": "ECMASCRIPT5"
133 * override objects for setting build environment specific
150 * Controls the output structure of bootstrap artifacts. May be specified by a string:
152 * "bootstrap": "${app.dir}"
154 * to adjust the base path for all bootstrap objects, or expanded into object form:
157 * "base": "${app.dir},
158 * "manifest": "bootstrap.json",
159 * "microloader": "bootstrap.js",
160 * "css": "bootstrap.css"
163 * To disable "loadOrder" metadata when using a framwork build file such as
164 * ext-all-debug.js, use the expanded form of the manifest property:
168 * "path": "bootstrap.json",
169 * "exclude": "loadOrder"
179 * Controls the output directory for build resources. May be set with
184 * or an object containing values for various types of
188 * "base": "${workspace.build.dir}/${build.environment}/${app.name}",
190 * "path": "../index.html",
193 * "css": "${app.output.resources}/${app.name}-all.css",
199 * "callParent": true,
204 * "path": "microloader.js",
209 * "path": "app.json",
211 * "enable": "${app.output.microloader.enable}"
213 * "resources": "resources",
215 * "path": "${app.output.resources}/images",
218 * // Setting the "enable" property of this object to a Truthy value will cause a Application Cache
219 * // manifest file to be generated based on this files appCache object. This file will then be injected
220 * // into the index.html file of the built application
227 "base": "${workspace.build.dir}/${build.environment}/${app.name}",
237 * Controls for localStorage caching
239 * // This property controls whether localStorage caching of this manifest file is on or off.
240 * // if disabled no deltas will be generated during a build and full updates will be disabled
243 * // This property allows for global toggle of deltas.
244 * // If set to a string the value will be used as the path to where deltas will be generated relative to you build.
245 * // If set to a Truthy Value the default path ok "deltas" will be used
246 * // If set to a Falsey value or if this property is not present deltas will be disabled and not generated.
257 * This sets the default output folder for cordova packagers builds
259 * // Cordova Packager Config options
262 * // 'name' This is the name of your cordova application. This will default to your Sencha App name.
263 * // This is only used once during Cordova app creation and cannot be changed after.
264 * "name": "AppNameForCordova",
266 * // 'id' This will be your package name for Android and your Bundle Identifier for iOS
267 * // This is only used once during Cordova app creation and cannot be changed after
268 * "id": "com.domain.AppName",
270 * // 'platform' can be a platform or a space seperated list of platform (ios android)
271 * // platform supported on mac: ios, amazon-fireos, android, blackberry10, firefoxos
272 * // platform supported on win: wp7, wp8, windows8, amazon-fireos, android, blackberry10, firefoxos
275 * // 'verbose' This boolean will determine if all cordova commands will have verbose output or not.
276 * // to properly see this run sencha command with the '-info' flag like the following
277 * // sencha -info app run [buildname]
279 * // 'path' The path this builds cordova project should be created in.
280 * // This defaults to your {app.dir}/cordova
282 * // 'target' This is the target for emulator/simulator commands.
283 * // On Android is the name of your Android Virtual Device
284 * // For iOS it is one of the following:
285 * // "iPhone (Retina 3.5-inch)"
286 * // "iPhone (Retina 4-inch)"
294 "name": "${app.name}",
295 "id": "com.domain.${app.name}",
298 "path": "${app.dir}/cordova"
302 "path": "cordova.js",
307 "microloader": "${app.config.dir}/Microloader.js",
309 "base": "${app.cordova.config.path}/www",
310 "page": "index.html",
311 "manifest": "${build.id}.json",
322 * This sets the default output folder for phonegap packagers builds
324 * // Phonegap Packager Config options
327 * // 'name' This is the name of your phonegap application. This will default to your Sencha App name.
328 * // This is only used once during Phonegap app creation and cannot be changed after.
329 * "name": "AppNameForCordova",
331 * // 'id' This will be your package name for Android and your Bundle Identifier for iOS
332 * // This is only used once during Phonegap app creation and cannot be changed after
333 * "id": "com.domain.AppName",
335 * // 'platform' a single platform to build, run or emulate
336 * // platform supported locally: android, ios, wp8, Blackberry 10
337 * // platform supported remotely: android, ios, wp8
338 * //"platform": "ios"
340 * // 'remote' This boolean will determine if the build should be run on Phonegap's remove server 'http://build.phonegap.com'
341 * // setting remote to true will attempt to build on the cloud.
342 * // To properly use this one must set the following properties in there local.properties file (if this file does not exist create it in your app root)
343 * // phonegap.remote.username=myname@domain.com
344 * // phonegap.remote.password=mys3cr3tp@ssw0rd
346 * // 'verbose' This boolean will determine if all phonegap commands will have verbose output or not.
347 * // to properly see this run sencha command with the '-info' flag like the following
348 * // sencha -info app run [buildname]
350 * // 'path' The path this builds phonegap project should be created in.
351 * // This is only used once during Phonegap app creation if changed this will result in a new phonegap application being generated
352 * // This defaults to your {app.dir}/phonegap
357 "name": "${app.name}",
358 "id": "com.domain.${app.name}",
361 "path": "${app.dir}/phonegap"
365 "path": "phonegap.js",
370 "microloader": "${app.config.dir}/Microloader.js",
372 "base": "${app.phonegap.config.path}/www",
373 "page": "index.html",
374 "manifest": "${build.id}.json",
385 * Additional resources used during theme slicing operations
390 "path": "${app.dir}/sass/example/custom.js",
391 "isWidgetManifest": true
414 * The manager config object is used by the sencha app publish command to deploy this application to sencha web application manager
416 * // the space id for this application
418 * // name of app in space deployments
419 * "name": "${app.name}",
421 * "host": "https://api.space.sencha.com/json.rpc",
422 * // can be a zip file path, or a folder to be zipped and deployd to sencha space
423 * "file": "${app.output.base}",
424 * // These may be specified here, but are best specified in your user
425 * // ~/.sencha/cmd/sencha.cfg file