1 <project name=
"page-impl.xml">
2 <target name=
"-build-output-microload-page">
4 <x-is-true value=
"${build.enable.embedded.manifest}"/>
6 <x-compile refid=
"${compiler.ref.id}">
8 # generate microloader file
10 -operation=microloader
11 -microloaderPath=${app.microloader.path}
12 -tpl=${build.microloader.code.tpl}
13 -out=${build.microloader.path}
19 -tpl=${build.microloader.json.tpl.embedded}
20 -out=${build.microloader.path}
25 <x-compile refid=
"${compiler.ref.id}">
30 -tpl=${build.microloader.json.tpl.standalone}
31 -out=${build.out.json.path}
33 # generate microloader file
35 -operation=microloader
36 -microloaderPath=${app.microloader.path}
37 -tpl=${build.microloader.code.tpl}
38 -out=${build.microloader.path}
43 -tpl=${build.microloader.json.tpl.external}
44 -out=${build.microloader.path}
51 <x-is-true value=
"${build.enable.embedded.microloader}"/>
53 <x-sencha-command dir=
"${app.dir}" inheritall=
"true">
57 ${build.embedded.microloader.compressor}
58 -from=${build.microloader.path}
59 -to=${build.microloader.path}
62 <x-compile refid=
"${compiler.ref.id}">
65 -contentFile=${build.microloader.path}
66 -tpl=${build.embedded.microloader.tpl}
67 -out=${build.out.page.path}
71 <!--once the generated microloader file is embedded, delete it-->
72 <delete file=
"${build.microloader.path}"/>
75 <x-compile refid=
"${compiler.ref.id}">
78 -markup=${build.external.microloader.markup}
79 -out=${build.out.page.path}
87 <!-- generates a separate json manifest for use with native packager -->
88 <target name=
"-build-standalone-json-manifest">
89 <x-run-if-true value=
"${enable.standalone.manifest}">
90 <x-compile refid=
"${compiler.ref.id}">
95 -tpl=${build.microloader.json.tpl.standalone}
96 -out=${build.out.json.path}
102 <target name=
"-build-output-markup-page">
103 <condition property=
"internal.app.css.rel" value=
"${app.out.css.rel}">
104 <x-is-true value=
"${enable.ext42.themes}"/>
106 <property name=
"internal.app.css.rel" value=
""/>
108 <x-compile refid=
"${compiler.ref.id}">
111 -out=${build.out.page.path}
116 <!-- '-detect-app-build-properties' is defined in js-impl.xml -->
117 <target name=
"-build-output-page"
118 depends=
"-detect-app-build-properties,-build-standalone-json-manifest">
120 <x-is-true value=
"${build.output.markuponly}"/>
122 <x-ant-call target=
"-build-output-markup-page"/>
125 <x-ant-call target=
"-build-output-microload-page"/>
130 <target name=
"-copy-app-resources" depends=
"-init-compiler">
132 <x-is-false value=
"${build.output.markuponly}"/>
134 <x-compile refid=
"${compiler.ref.id}">
137 -compress=${enable.resource.compression}
145 <target name=
"-generate-deltas" depends=
"-init-compiler">
148 <x-is-true value=
"${enable.deltas}"/>
149 <x-is-false value=
"${build.output.markuponly}"/>
152 <x-compile refid=
"${compiler.ref.id}">
155 -archivePath=${build.out.archive.path}
156 -deltaPath=${build.out.delta.path}
157 -resourcePath=${build.dir}
164 <target name=
"-generate-cache-manifest" depends=
"-init-compiler">
167 <x-is-true value=
"${enable.cache.manifest}"/>
168 <x-is-false value=
"${build.output.markuponly}"/>
171 <x-compile refid=
"${compiler.ref.id}">
174 -cacheManifestPath=${build.manifest.path}
177 <replace file=
"${build.out.page.path}"
178 token=
"<html manifest="""
179 value=
"<html manifest="${build.manifest.name}""/>
184 <target name=
"-before-page"/>
186 depends=
"-copy-app-resources,
189 -generate-cache-manifest"/>
190 <target name=
"-after-page"/>