1 <project name=
"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-compiler">
8 <x-load-app-builder-properties
9 refid=
"${compiler.ref.id}"
10 splitModePropName=
"enable.split.mode"
11 pageModePropName=
"app.page.mode"/>
15 this is the standard js compile target that builds the output js file(s)
17 <target name=
"-compile-js" depends=
"-detect-app-build-properties">
19 <x-is-true value=
"${enable.split.mode}"/>
21 <x-compile refid=
"${compiler.ref.id}">
23 # build a separate sdk-only js file
25 -tag=package-sencha-core,framework
31 -out=${build.framework.file}
32 ${build.concat.options}
34 # now build the all-classes file, without
35 # the framework code included
41 -tag=framework,package-sencha-core
47 -out=${build.classes.file}
48 ${build.concat.options}
53 <x-compile refid=
"${compiler.ref.id}">
55 # build an all-classes.js file that contains
56 # all code needed by the app
64 -out=${build.classes.file}
65 ${build.concat.options}
75 <target name=
"-before-js"/>
76 <target name=
"-js" depends=
"-compile-js"/>
77 <target name=
"-after-js"/>