1 <project name=
"x-js-impl">
3 this target extracts split mode information from the compiler's app
4 processor to determine various pieces of information
6 <target name=
"-detect-app-build-properties"
7 depends=
"-init-app-js-files">
8 <x-load-app-builder-properties
9 refid=
"${compiler.ref.id}"
10 splitModePropName=
"enable.split.mode"
11 pageModePropName=
"app.page.mode"
12 hasJsSdkPropName=
"app.has.js.sdk"
13 hasCssSdkPropName=
"app.has.css.sdk"/>
17 this is the standard js compile target that builds the output js file(s)
19 <target name=
"-compile-js" depends=
"-detect-app-build-properties">
21 <x-is-true value=
"${enable.split.mode}"/>
23 <x-compile refid=
"${compiler.ref.id}">
25 # build a separate sdk-only js file
30 -tag=package-sencha-core,framework
36 -set=page,allframework
44 -remove-text-references=${build.remove.references}
45 -optimize-string-references=${build.optimize.string.references}
46 -remove-requirement-nodes=${build.remove.requirement.nodes}
48 -out=${build.framework.file}
49 ${build.concat.options}
51 # now build the all-classes file, without
52 # the framework code included
61 -remove-text-references=${build.remove.references}
62 -optimize-string-references=${build.optimize.string.references}
63 -remove-requirement-nodes=${build.remove.requirement.nodes}
65 -out=${build.classes.file}
66 ${build.concat.options}
71 <x-compile refid=
"${compiler.ref.id}">
73 # build an all-classes.js file that contains
74 # all code needed by the app
81 -remove-text-references=${build.remove.references}
82 -optimize-string-references=${build.optimize.string.references}
83 -remove-requirement-nodes=${build.remove.requirement.nodes}
85 -out=${build.classes.file}
86 ${build.concat.options}
96 <target name=
"-before-js"/>
97 <target name=
"-js" depends=
"-compile-js"/>
98 <target name=
"-after-js"/>