1 <project name=
"refresh-impl">
3 This macrodef regenerates the bootstrap.js class system metadata, which includes
4 relative file paths, class names, alternate class names, and class alias data
6 <macrodef name=
"x-run-bootstrap">
7 <attribute name=
"file"/>
8 <attribute name=
"basedir"/>
9 <attribute name=
"appendMicroloader" default=
"false"/>
12 <local name=
"tag.filter"/>
13 <local name=
"ux.include"/>
14 <local name=
"load.script.tpl"/>
16 <condition property=
"tag.filter" value=
"package-sencha-core,core">
17 <x-is-true value=
"${enable.sencha-core.filter}"/>
19 <property name=
"tag.filter" value=
"core"/>
22 <equals arg1=
"${framework.name}" arg2=
"ext"/>
24 <property name=
"ux.include">
29 <property name=
"load.script.tpl" value=
"Ext.Loader.loadScript("{0}");"/>
32 <property name=
"ux.include" value=
""/>
33 <property name=
"load.script.tpl" value=
"Ext.Loader.loadScriptFile("{0}", Ext.emptyFn);"/>
39 * This file is generated by Sencha Cmd and should NOT be edited. It is
40 * provided to support globbing requires, custom xtypes, and other
41 * metadata-driven class system features
44 <x-compile refid=
"${compiler.ref.id}">
54 -jsonp=Ext.Loader.addClassPathMappings
85 -tpl=${load.script.tpl};
93 Refreshes the application's bootstrap javascript and microloader manifest
94 '-detect-app-build-properties' is defined in js-impl.xml
96 <target name=
"-refresh-app" depends=
"-detect-app-build-properties">
98 <!--regenerate class system metadata-->
99 <x-run-bootstrap file=
"${app.bootstrap.js}"
100 basedir=
"${app.bootstrap.base.path}"/>
102 <!--regenerate json manifest bootstrap data-->
104 <equals arg1=
"${app.page.mode}" arg2=
"xcompile"/>
107 append the microloader and manifest to the end
110 <x-compile refid=
"${compiler.ref.id}">
113 -operation=microloader
114 -microloaderPath=${app.microloader.bootstrap}
116 -out=${app.bootstrap.js}
123 create / overwrite bootstrap.json, which will be used
124 by the default development.js microloader
127 <echo file=
"${build.json.bootstrap.path}">
129 * This file is generated by Sencha Cmd and should NOT be edited. It is a
130 * combination of content from app.json, and all required package's package.json
131 * files. Customizations should be placed in app.json.
134 <x-compile refid=
"${compiler.ref.id}">
141 -out=${build.json.bootstrap.path}
149 <target name=
"-before-refresh"/>
150 <target name=
"-refresh" depends=
"-refresh-app"/>
151 <target name=
"-after-refresh"/>