1 <project name=
"refresh-impl">
2 <import file=
"bootstrap-impl.xml"/>
4 <target name=
"-init-refresh" depends=
"-detect-app-build-properties">
5 <property name=
"app.bootstrap.base.path"
6 value=
"${build.bootstrap.metadata.dir}"/>
9 <target name=
"-refresh-app-manifest" if=
"build.enable.appmanifest" depends=
"-init-refresh">
11 <local name=
"manifest.root.excludes"/>
12 <condition property=
"manifest.root.excludes" value=
"${app.bootstrap.manifest.exclude}">
13 <isset property=
"app.bootstrap.manifest.exclude"/>
15 <condition property=
"manifest.root.excludes" value=
"loadOrder">
16 <isset property=
"app.has.js.sdk"/>
18 <property name=
"manifest.root.excludes" value=
""/>
20 <x-compile refid=
"${compiler.ref.id}">
23 -operation=microloader
24 -microloaderPath=${app.microloader.bootstrap}
25 -bootPath=${build.boot.file}
26 -out=${app.bootstrap.js}
31 -exclude=${manifest.root.excludes}
33 -basePath=${app.bootstrap.base.path}
34 -out=${build.json.bootstrap.path}
39 <target name=
"-refresh-app-bootstrap" unless=
"build.enable.appmanifest" depends=
"-init-refresh">
41 <!--regenerate class system metadata-->
42 <x-bootstrap file=
"${app.bootstrap.js}"
43 basedir=
"${app.bootstrap.base.path}"
44 overrideTpl=
"${bootstrap.override.tpl}"
45 overrideTplType=
"${bootstrap.override.tpltype}"
46 includeOverrides=
"${bootstrap.include.overrides}"
47 includeBoot=
"${bootstrap.include.boot}"/>
49 <!--regenerate json manifest bootstrap data-->
51 <equals arg1=
"${app.page.mode}" arg2=
"xcompile"/>
54 append the microloader and manifest to the end
57 <x-compile refid=
"${compiler.ref.id}">
60 -operation=microloader
61 -microloaderPath=${app.microloader.bootstrap}
63 -out=${app.bootstrap.js}
70 create / overwrite bootstrap.json, which will be used
71 by the default development.js microloader
74 <echo file=
"${build.json.bootstrap.path}">
76 * This file is generated by Sencha Cmd and should NOT be edited. It is a
77 * combination of content from app.json, and all required package's package.json
78 * files. Customizations should be placed in app.json.
81 <x-compile refid=
"${compiler.ref.id}">
88 -basePath=${app.bootstrap.base.path}
89 -out=${build.json.bootstrap.path}
95 Refreshes the application's bootstrap javascript and microloader manifest
96 '-detect-app-build-properties' is defined in js-impl.xml
98 <target name=
"-refresh-app"
99 depends=
"-detect-app-build-properties,
100 -refresh-app-manifest,
101 -refresh-app-bootstrap"/>
106 <target name=
"-before-refresh"/>
107 <target name=
"-refresh" depends=
"-refresh-app"/>
108 <target name=
"-after-refresh"/>