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.
6 # IMPORTANT - This file is not modifiable by a package, and will be overwritten
7 # during each app upgrade. Please use build.properties for defining package
8 # customizations to these properties.
9 # =============================================================================
11 # ===========================================
12 # properties defining various directory
14 # ===========================================
15 build.dir=${package.build.dir}
17 package.output=${build.dir}
18 package.output.base=${package.output}
21 package.output.css=resources
22 package.output.sass=${package.output.js}
23 package.output.resources=${package.output.css}
25 build.out.js.dir=${package.output.base}/${package.output.js}
26 build.out.css.dir=${package.output.base}/${package.output.css}
27 build.out.sass.dir=${package.output.base}/${package.output.sass}
28 build.out.resources.dir=${package.output.base}/${package.output.resources}
31 # a temporary output directory used for staging intermediate build artifacts
32 build.temp.dir=${workspace.build.dir}/temp/${package.name}
34 build.resources.dir=${build.out.resources.dir}
35 package.resources.dir=${package.dir}/resources
36 package.sass.dir=${package.dir}/sass
37 package.licenses.dir=${package.dir}/licenses
39 # ===========================================
40 # definitions of various file name patterns
41 # used for output artifacts
42 # ===========================================
44 build.name.prefix=${package.name}
45 build.name.css.prefix=${build.resources.dir}/${package.name}
46 build.name.ruby=config.rb
48 build.debug.suffix=-debug
52 build.all.debug.suffix=${build.all.suffix}${build.debug.suffix}
53 build.all.rtl.suffix=${build.all.suffix}${build.rtl.suffix}
54 build.all.rtl.debug.suffix=${build.all.suffix}${build.rtl.suffix}${build.debug.suffix}
56 # ===========================================
57 # define the output js file names for dev,
58 # debug, and compressed (no suffix)
59 # ===========================================
60 build.all.js=${build.out.js.dir}/${build.name.prefix}.js
61 build.all.debug.js=${build.out.js.dir}/${build.name.prefix}${build.debug.suffix}.js
63 package.sass.build.dir=${build.out.sass.dir}
65 # ===========================================
66 # output file names for the scss files
67 # ===========================================
68 build.all.scss=${package.sass.build.dir}/${build.name.prefix}${build.all.debug.suffix}.scss
69 build.all.rtl.scss=${package.sass.build.dir}/${build.name.prefix}${build.all.rtl.debug.suffix}.scss
71 # ===========================================
72 # output file names for the css files
73 # generated from the scss files by running
74 # a compass compilation
75 # ===========================================
76 build.all.css.debug.prefix=${package.name}${build.all.debug.suffix}
77 build.all.css.debug=${build.out.css.dir}/${build.all.css.debug.prefix}.css
78 build.all.rtl.css.debug.prefix=${package.name}${build.all.rtl.debug.suffix}
79 build.all.rtl.css.debug=${build.out.css.dir}/${build.all.rtl.css.debug.prefix}.css
80 build.all.css.prefix=${package.name}${build.all.suffix}
81 build.all.css=${build.out.css.dir}/${build.all.css.prefix}.css
82 build.all.rtl.css.prefix=${package.name}${build.all.rtl.suffix}
83 build.all.rtl.css=${build.out.css.dir}/${build.all.rtl.css.prefix}.css
85 build.all.ruby=${package.sass.build.dir}/${build.name.ruby}
87 # ===========================================
88 # options to pass to the 'sencha fs slice' command
89 # ===========================================
92 # ===========================================
93 # preprocessor options used when generating
94 # concatenated js output files
95 # ===========================================
96 build.compile.js.debug.options=debug:true
97 build.compile.js.options=debug:false
99 # enables / disables removing text references from
100 # package js build files
101 build.remove.references=false
103 # This property can be modified to change general build options
104 # such as excluding files from the set. The format expects newlines
105 # for each argument, for example:
111 # NOTE: modifications to build.operations are intended to be
112 # placed in an override of the "-after-init" target, where it
113 # can be calculated based on other
118 # ===========================================
119 # compression option used to generate '-all'
121 # ===========================================
122 build.compile.js.compress=+yui
124 build.compile.temp.dir=${build.temp.dir}/sencha-compiler
126 # controles whether to keep the temp compile dir after the build
127 build.compile.temp.dir.keep=true
130 # ===========================================
131 # selector count threshold to use when
132 # splitting a single css file into multiple
133 # css files (IE selector limit workaround)
134 # ===========================================
135 build.css.selector.limit=4095
137 # controls the ruby command used to execute compass. a full path
138 # to ruby may be specified rather than allowing the system shell
139 # to resolve the command
142 # controls the working directory of the child compass process
143 # and the output location for the .sass-cache folder
144 compass.working.dir=${package.sass.build.dir}
146 # enables / disables console highlighting for compass
147 compass.compile.boring=false
149 # enables / disables forced rebuilds for compass
150 compass.compile.force=true
152 # enables / disables stack traces in compass failure output
153 compass.compile.trace=true
155 # the directory containing sass files for compass to compile
156 compass.sass.dir=${package.sass.build.dir}
158 # the output directory where compass should place built css files
159 compass.css.dir=${build.out.css.dir}
161 # the directory containing the ruby config file for compass
162 compass.config.file=${build.all.ruby}
164 compass.cache.dir=${workspace.build.dir}/.sass-cache
166 # ===========================================
167 # Options for sub-packages
169 # Set to true/1 to enable build.version inheritance by sub-pacakges
170 build.subpkgs.inherit.version=0
172 # ===========================================
173 # theme slicing example page settings
174 # ===========================================
175 package.example.dir=${package.dir}/sass/example
176 package.example.build.dir=${build.temp.dir}/slicer-temp
177 package.example.base=${build.all.rtl.css.debug.prefix}
178 package.example.css=${package.example.build.dir}/${package.example.base}.css
179 package.example.scss=${package.example.build.dir}/${package.example.base}.scss
180 package.example.theme.html=${package.example.dir}/theme.html
181 package.example.fashion.html=${package.example.dir}/fashion.html
183 # the name of the intermediate screenshot file used for image slicing
184 build.capture.png=${package.example.build.dir}/theme-capture.png
186 # the name of the intermediate widget manifest file used for image slicing
187 build.capture.json=${package.example.build.dir}/theme-capture.json
191 # the microloader to use for bootstrapping operations
192 package.microloader.bootstrap=${package.microloader.dir}/${package.microloader.development}
194 build.boot.name=Boot.js
195 build.boot.file=${package.config.dir}/${build.boot.name}
196 build.slicer.microloader.name=Microloader.js
197 build.slicer.microloader.file=${package.config.dir}/${build.slicer.microloader.name}
200 # the ruby compass config file to generate for slicer page scss
201 package.example.out.ruby=${package.example.build.dir}/config.rb
202 package.example.compass.config=${package.example.out.ruby}
205 bootstrap.base.path=${package.example.dir}
206 bootstrap.example.js=${package.example.dir}/bootstrap.js
207 bootstrap.example.json=${package.example.dir}/bootstrap.json
210 # ===========================================
211 # options controlling output packaging
212 # operations for output '.pkg' file
213 # ===========================================
214 pkg.build.dir=${workspace.build.dir}/${package.name}
215 pkg.file.name=${package.name}.pkg
217 pkg.excludes=package.json
220 # the port number to start the local web server on
223 # the directory representing the root web folder
224 build.web.root=${workspace.dir}