]> git.proxmox.com Git - sencha-touch.git/blame - src/examples/toolbars/.sencha/app/defaults.properties
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / toolbars / .sencha / app / defaults.properties
CommitLineData
c4685c84
TL
1# =============================================================================
2# This file defines properties used by build-impl.xml and the associated
3# *-impl.xml files (sass-impl.xml, js-impl.xml, etc.), which are the core of
4# the applications build process.
5#
6# This file represents the lowest priority file for defining these properties
7# as well as the place to look for documentation and learning what properties
8# exist.
9#
10# The full set of these files is as follows (in priority order):
11#
12# - One of these (based on build.environment):
13# - production.properties
14# - testing.properties
15# - native.properties
16# - package.properties
17#
18# - build.properties
19#
20# - One of these (based on app.framework):
21# - ext.properties
22# - touch.properties
23#
24# - One of these (based on build.environment):
25# - production.defaults.properties
26# - testing.defaults.properties
27# - native.defaults.properties
28# - package.defaults.properties
29#
30# - defaults.properties
31#
32# Properties are controlled by the first file in the above list to define the
33# value. Values from all levels, however, can reference each other via the
34# property expansion.
35#
36# IMPORTANT - This file should not be modified by an app as it is overwritten
37# during each app upgrade.
38# =============================================================================
39
40# *****************************************************************************
41# Global Build Properties
42# these are cross-concern properties used by many build phases
43# *****************************************************************************
44
45# the default build enviornment type (production, testing, native, package)
46# NOTE: this is only a default and will typically be set before this file is
47# loaded, typically by the 'sencha app build" command.
48# See "sencha help app build" for details.
49#
50# The corresponding properies files:
51# (production.properties, testing.properties, etc.) provide examples of
52# overriding sets of properties depending on the selected environment
53# NOTE: this replaces the deprecated args.environment
54build.environment=production
55
56# the directory to place built application files
57build.dir=${workspace.build.dir}/${build.environment}/${app.name}
58
59# a temporary output directory used for staging intermediate build artifacts
60build.temp.dir=${workspace.build.dir}/temp/${build.environment}/${app.name}
61
62# the directory under the output folder for placing resources
63build.resources.dir=${build.dir}/resources
64
65# *****************************************************************************
66# JS
67# these properties control various aspects of output js code construction
68# *****************************************************************************
69
70# the output js file that contains all needed js code
71build.classes.name=app.js
72build.classes.file=${build.dir}/${build.classes.name}
73
74# the output js file for framework code, if the framework
75# classes are not included in the default all-classes.js file
76build.framework.name=framework.js
77build.framework.file=${build.dir}/${build.framework.name}
78
79# Don't use these - they are deprecated
80build.options.debug.enable=debug:true
81build.options.debug.disable=debug:false
82build.options.logger.enable=logger:yes
83build.options.logger.disable=logger:no
84
85# This property enables/disables <feature logger> blocks in js output, see build.options
86build.options.logger=no
87
88# This property enables/disables <debug> blocks in js output, see build.options
89build.options.debug=false
90
91# This property can be used to pass custom build options in addition to any of the other
92# build.options flags. When overlapping, these options take priority, see build.options
93build.options.custom=
94
95# This value is specified by the framework
96build.options.default=
97
98# This property contains the framework ("product") used for filtering of JavaScript using
99# the preprocessor. This is set by either ext.properties or touch.properties.
100#
101#build.options.product=touch
102
103# This property contains the desired API level used for preprocessor filtering of JavaScript.
104# This is set by either ext.properties or touch.properties.
105#
106#build.options.minVersion=2.1
107
108# This property holds the set of js preprocessor options in the form:
109#
110# name1:value1,name2:value2,...
111#
112# (used by -init-compiler in init-impl.xml)
113#
114# This property is not likely to be set directly. Rather, you should set one of the
115# contributing properties that are combined to form this one:
116#
117# build.options.debug
118# build.options.logger
119# build.options.custom
120#
121# The other properties that contribute to this are typically not needing to be set:
122#
123# build.options.product
124# build.options.minVersion
125#
126build.options=logger:${build.options.logger},debug:${build.options.debug},product:${build.options.product},minVersion:${build.options.minVersion},${build.options.default},${build.options.custom}
127
128# This property can be modified to change general build options
129# such as excluding files from the set. The format expects newlines
130# for each argument, for example:
131#
132# build.operations=\
133# exclude\n \
134# -namespace=Ext\n
135#
136# NOTE: modifications to build.operations are intended to be
137# placed in an override of the "-after-init" target, where it
138# can be calculated based on other
139# ant properties
140#
141# build.operations=
142
143# enables / disables the full class optimizer during js builds
144# (used by the -compile-* targets in js-impl.xml)
145build.optimize.enable=\
146 optimize\n \
147 -define-rewrite\n
148build.optimize.disable=
149build.optimize=${build.optimize.disable}
150
151# enables / disables yui compression
152build.compression.yui=0
153
154# enables / disables closure compression
155build.compression.closure=0
156
157# enables / disables uglify compression
158build.compression.ugilfy=0
159
160build.compile.temp.dir=${build.temp.dir}/sencha-compiler
161
162# controles whether to keep the temp compile dir after the build
163build.compile.temp.dir.keep=true
164
165# ------------------------------------------
166# DOC ONLY - Do Not Set
167# this variable will be set to the appropriate compressor
168# option, and is calculated in init-impl.xml, but may be overridded in
169# app.properties, <environment>.properties, or via command line
170#
171# build.compression=
172# ------------------------------------------
173
174# *****************************************************************************
175# Page
176# these variables control aspects of building the output markup page
177# *****************************************************************************
178
179# controls whether the output will be microloader-enabled, or markup only
180build.output.markuponly=false
181
182# controls whether the microloader content will be embedded in the output
183# markup, or left as a separate resource
184build.enable.embedded.microloader=true
185
186# whether to include the page's manifest.json code with the
187# microloader content. Production.properties files should set this to
188# false to have app.json exist as a server resource.
189build.enable.embedded.manifest=true
190
191# enables / disables delta patch generation
192enable.deltas=false
193
194# enables / disables generation of cache manifest
195enable.cache.manifest=false
196
197# enables / disables compression of resources referenced in app.json / package.json
198# js and css entries
199enable.resource.compression=false
200
201# defaults to index.html, but may be overridden in app.json
202app.indexHtmlPath=index.html
203
204# the input page file for the application
205app.page.name=${app.indexHtmlPath}
206app.page.file=${app.dir}/${app.page.name}
207
208# the output page file
209build.page.name=${app.page.name}
210build.page.file=${build.dir}/${build.page.name}
211
212# the directory where the microloader files may be found
213app.microloader.dir=${app.config.dir}/microloader
214
215# the file names of the individual microloaders
216app.microloader.development=development.js
217app.microloader.testing=testing.js
218app.microloader.production=production.js
219
220# the target microloader to use for builds
221app.microloader.name=${app.microloader.development}
222app.microloader.path=${app.microloader.dir}/${app.microloader.name}
223
224# specifies how to embed the microloader code into the output markup
225# {0} is replaced with the content of the microloader file specified
226# by app.microloader.path
227build.microloader.code.tpl={0}
228
229# the template to use when generating a stand-alone json manifest file
230build.microloader.json.tpl.standalone={0}
231
232# the template to use when embedding the manifest json directly next to the
233# microloader in the output microloader content
234build.microloader.json.tpl.embedded=Ext.blink({0});
235
236# the template to use in the output microloader content when supplying
237# the manifest json as a separate server-side resource ('production' builds)
238build.microloader.json.tpl.external=Ext.blink('{'id:''${app.id}'''}');
239
240# the template string to use when embedding the microloader content
241# into the output markup
242build.embedded.microloader.tpl=<script type="text/javascript">{0}</script>
243
244# the compressor to use when embedding the microloader into a page
245# can be -closure or -yui, or leave empty to disable compression
246build.embedded.microloader.compressor=
247
248# the name of the output microloader file
249build.microloader.name=microloader.js
250
251# the path to the microloader content file, if external to the outpout markup
252build.microloader.path=${build.dir}/${build.microloader.name}
253
254# the inner markup to embed into the output markup when not including
255# the microloader content directly into the output markup
256build.embedded.microloader.src=${build.microloader.name}
257build.external.microloader.markup=<script src="${build.embedded.microloader.src}"></script>
258
259# a flag indicating which mode the microloader should run in (production, testing, etc.)
260# currently unused : is a placeholder for future microloader interactions
261build.microloader.mode=${build.environment}
262
263# the tag name to use when generating the compiler save set for
264# the page's js code
265build.tag.name=full-page
266
267# the name of the archive folder containing source versions for
268# delta patch generation
269build.archive.name=archive
270build.out.archive.path=${workspace.build.dir}/${build.archive.name}/${app.name}
271
272# the name of the output folder for calculated delta patches
273build.deltas.name=deltas
274build.out.delta.path=${build.dir}/${build.deltas.name}
275
276# the output cache manifest file
277build.manifest.name=cache.appcache
278build.manifest.path=${build.dir}/${build.manifest.name}
279
280# the path to the output markup page
281build.out.page.path=${build.dir}/${app.page.name}
282
283# the name of the manifest json file
284build.json.name=app.json
285
286# the full path to the manifest json file
287build.out.json.path=${build.dir}/${build.json.name}
288
289# Defines the file that will contain Ext.setVersion calls for each used package.
290build.out.package.versions=${build.compile.temp.dir}/cmd-packages.js
291
292# a temp directory for managing extracted resources during the page build
293build.app.temp.dir=${build.compile.temp.dir}/app
294
295# controls the format of checksum headers injected into microloaded content
296# either comment style, or code style for js and css files
297delta.comment.checksums=false
298
299# *****************************************************************************
300# Refresh
301# these properties are used for generating bootstrap js and css
302# files to support dev-time interaction with the app
303# *****************************************************************************
304
305# the base path to use for generating / calculating bootstrap info
306app.bootstrap.base.path=${app.dir}
307
308# these control the name of the bootstrap js file
309# note: there will be corresponding entries in either the index page
310# or app.json that reference these names
311app.bootstrap.js.name=bootstrap.js
312app.bootstrap.js=${app.bootstrap.base.path}/${app.bootstrap.js.name}
313
314# these control the name of the bootstrap css file (for ext 4.2+ apps)
315# note: there will be corresponding entries in either the index page
316# or app.json that reference these names
317app.bootstrap.css.name=bootstrap.css
318app.bootstrap.css=${app.bootstrap.base.path}/${app.bootstrap.css.name}
319
320# the microloader to use for bootstrapping operations
321app.microloader.bootstrap=${app.microloader.dir}/${app.microloader.development}
322
323# the name of the bootstrap microloader manifest
324build.json.bootstrap.name=bootstrap.json
325
326# the full path to the bootstrap microloader manifest
327build.json.bootstrap.path=${app.dir}/${build.json.bootstrap.name}
328
329# *****************************************************************************
330# Sass / Css
331# properties for controling features of sass generation and compilation
332# *****************************************************************************
333
334# controls the ruby command that is used to execute compasss
335# a full path to ruby may be specified rather than allowing the system
336# shell to resolve the command
337build.ruby.path=ruby
338
339# --------------------
340# these control properties select the mode used to build the app's styling
341# see sass-impl.xml for how then are used
342
343# enables theme builds for apps using ext 41 style themes
344enable.ext41.themes=false
345
346# enables theme builds for apps using ext 42 style themes
347enable.ext42.themes=false
348
349# enables theme builds for apps using touch style themes
350enable.touch.themes=false
351# --------------------
352
353# selector count threshold to use when
354# splitting a single css file into multiple
355# css files (IE selector limit workaround)
356#
357# NOTE: applies only to ext js 4.2+ style theme management, currently
358# see the above theme control variables for details
359build.css.selector.limit=4095
360
361# enables / disable css preprocessor (enable.ext42.themes only)
362build.css.preprocess=true
363
364# sets the css preprocessor options, in the form:
365# name1:value1,name2:value2,...
366build.css.preprocessor.opts=
367
368# enables / disable css compressor (enable.ext42.themes only)
369build.css.compress=true
370
371# controls the directory used to generate the output app scss file
372# for apps that use theme packages
373build.sass.dir=${build.temp.dir}/sass
374
375# Specify the name for the individual resource dirs in the app
376# (enable.touch.themes only)
377app.sass.name=sass
378
379# Specify the sass path in the app
380# (enable.touch.themes only)
381app.sass.dir=${app.dir}/resources/${app.sass.name}
382
383# name prefix to use for output css / sass files
384app.out.base=${app.name}-all
385app.out.base.debug=${app.out.base}
386
387# the output sass file to generate (used with enable.ext42.themes)
388app.out.scss=${build.sass.dir}/${app.out.base.debug}.scss
389# the output ruby compass config file to generate (used with enable.ext42.themes)
390app.out.ruby=${build.sass.dir}/config.rb
391
392# output css file prefix
393app.out.css.prefix=${app.out.base.debug}
394
395# output css file name
396app.out.css.name=${app.out.css.prefix}.css
397
398# output css file path (relative to build directory root
399app.out.css.rel=resources/${app.out.css.name}
400
401# output css file path (full path)
402app.out.css=${build.dir}/${app.out.css.rel}
403
404# separate file name to use for generating a compressed copy
405# of the output css file (this default will compress the file in-place)
406app.out.css.compressed=${build.dir}/resources/${app.out.base}.css
407
408# the directory containing sass files for compass to compile
409compass.sass.dir=${build.sass.dir}
410
411# the output directory where compass should place built css files
412compass.css.dir=${build.dir}/resources
413
414# the directory containing the ruby config file for compass
415compass.config.file=${app.out.ruby}
416
417# enables / disables console highlighting for compass
418compass.compile.boring=false
419
420# enables / disables forced rebuilds for compass
421compass.compile.force=true
422
423# enables / disables stack traces in compass failure output
424compass.compile.trace=true
425
426# the directory that will be the current working directory of the compass
427# process (controls the location of .sass-cache folder creation)
428# NOTE: this directory will also typically need to contain the config.rb file
429# used for compass invocation, so it is ideal to set build.sass.dir instead of this
430# variable, as that will control both the config.rb location as well as the
431# .sass-cache location
432compass.working.dir=${build.sass.dir}
433
434# ---------------------------------------------------
435# Legacy properties for ext41 theme directories
436# Specify the resources path in the app
437app.packages.dir=${app.dir}/packages
438
439# Specify the theme path in the app (this directory contains the themes)
440app.theme.dir=${app.packages.dir}
441
442# the currently selected ext 41 theme name
443theme.name=default
444# ---------------------------------------------------
445
446# *****************************************************************************
447# Slice
448# these properties control features of the theme slice build phase
449# *****************************************************************************
450
451# the resources directory of the application
452# note: this property is currently only used for building ext 4.1 style themes
453# (used by x-build-theme and x-copy-resources in slice-impl.xml)
454app.resources.dir=${app.dir}/resources
455
456# the directory containing the slicer widget example page
457app.example.dir=${app.dir}/sass/example
458
459# properties to control the recirect css file that is
460# generated for the slicer example page
461app.example.css.name=example.css
462app.example.css.file=${app.example.dir}/${app.example.css.name}
463
464# the base path for generating the bootstrap code for the
465# slicer page
466bootstrap.base.path=${app.example.dir}
467
468# the full file name of the slicer page's bootstrap js file
469bootstrap.example.js=${app.example.dir}/bootstrap.js
470
471# this is the directory used for intermediate build artifacts used
472# by the slicer for generating theme images
473app.example.build.dir=${build.temp.dir}/slicer-temp
474
475# the name of the intermediate screenshot file used for image slicing
476build.capture.png=${app.example.build.dir}/theme-capture.png
477
478# the name of the intermediate widget manifest file used for image slicing
479build.capture.json=${app.example.build.dir}/theme-capture.json
480
481# the location of the slicer widget page
482app.example.theme.html.name=theme.html
483app.example.theme.html=${app.example.dir}/${app.example.theme.html.name}
484
485# a name prefix used for slicer page temporary artifacts
486app.example.base=${app.name}-example
487
488# the special slicer page scss file name to generate
489app.example.scss=${app.example.build.dir}/${app.example.base}.scss
490
491# the relative path from the slicer css file to the slicer html file
492app.example.css.rel=${app.example.base}.css
493
494# the path to the css file that will be built for the slicer page
495app.example.css=${app.example.build.dir}/${app.example.css.rel}
496
497# the ruby compass config file to generate for slicer page scss
498app.example.out.ruby=${app.example.build.dir}/config.rb
499app.example.compass.config=${app.example.out.ruby}
500
501# legacy ext 41 theme property indicating the name of the
502# slicer example page contained in the theme directory
503theme.page.name=theme.html
504
505# Options to pass to the "sencha fs slice" command.
506build.slice.options=
507
508# *****************************************************************************
509# Packager
510# these properties control features of the native packaging phase of the
511# build process
512# *****************************************************************************
513
514# enables packaging the built application with the Sencha Desktop Packager
515# NOTE: currently unsupported
516enable.desktop.packager=false
517
518# skips packaging the built application with sencha mobile packager (stbuild) or cordova/phonegap
519skip.native-package=true
520
521# a property that controls whether a standalone manifest.json file will be
522# generated for the native packaged application
523enable.standalone.manifest=false
524
525# these set the name of the mobile native packager's config file
526build.mobile.packager.name=packager.json
527build.mobile.packager.file=${app.dir}/${build.mobile.packager.name}
528
529# the default mobile packager config to use when specifying the autorun argument
530# with "sencha app build -run native"
531build.mobile.packager.default.name=packager.json
532build.mobile.packager.default.file=${app.dir}/${build.mobile.packager.default.name}
533
534# these set the name of the mobile native packager's temporary config file
535# that will have the input and output path properties updated
536build.mobile.packager.temp.name=packager.temp.json
537build.mobile.packager.temp.file=${app.dir}/${build.mobile.packager.temp.name}
538
539# the input directory for the mobile native packager that contains the
540# built Sencha Cmd application
541build.mobile.packager.in.dir=${build.dir}
542
543# the output location of the mobile native packaged application
544build.mobile.packager.out.dir.name=native-package-mobile
545build.mobile.packager.out.dir=${workspace.build.dir}/${build.mobile.packager.out.dir.name}/${app.name}
546
547# *****************************************************************************
548# Resolve
549# these properties control aspects of the dynamic dependency resolver, which
550# uses phantomjs to load the applicaiton and extract Ext.Loader class load
551# history.
552# *****************************************************************************
553
554# enables / disables dynamic dependency resolution
555skip.resolve=true
556
557# enables the local web server. this may be disabled to load the application's
558# page from an existing web server.
559skip.web-start=false
560
561# the port number to start the local web server on
562build.web.port=54321
563
564# the directory representing the root web folder
565build.web.root=${workspace.dir}
566
567# the base url to access the local web server
568build.resolve.url=http://localhost:${build.web.port}
569
570# a template string used to format the detected dynamic dependencies
571build.resolve.tpl={0}
572
573# the mode to use when formatting the detected dynamic dependencies
574build.resolve.mode=references
575
576# the output file for the detected dynamic dependencies
577build.resolve.file=${build.temp.dir}/resolve.json
578
579# controls whether unmatched external references in the specified file will
580# generate build warnings or build failures
581build.resolve.allow.unmatched=true
582
583# *****************************************************************************
584# Watch
585# these properties adjust the behavior of the app watch process.
586# *****************************************************************************
587
588# the default set of actions to run when triggering a rebuild
589build.trigger.targets=-refresh,-resources,-compass-compile
590
591# the watcher targets to run that monitor for code changes
592build.watcher.targets=-watch-compiler