1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <project name=
"Admin" default=
".help">
4 The build-impl.xml file imported here contains the guts of the build process. It is
5 a great idea to read that file to understand how the process works, but it is best to
6 limit your changes to this file.
8 <import file=
"${basedir}/.sencha/app/build-impl.xml"/>
11 The following targets can be provided to inject logic before and/or after key steps
14 The "init-local" target is used to initialize properties that may be personalized
15 for the local machine.
17 <target name="-before-init-local"/>
18 <target name="-after-init-local"/>
20 The "clean" target is used to clean build output from the build.dir.
22 <target name="-before-clean"/>
23 <target name="-after-clean"/>
25 The general "init" target is used to initialize all other properties, including
26 those provided by Sencha Cmd.
28 <target name="-before-init"/>
29 <target name="-after-init"/>
31 The "page" target performs the call to Sencha Cmd to build the 'all-classes.js' file.
33 <target name="-before-page"/>
34 <target name="-after-page"/>
36 The "build" target performs the call to Sencha Cmd to build the application.
38 <target name="-before-build"/>
39 <target name="-after-build"/>
41 <target name=
"-after-resources">
43 Determine the location of the built version of the page and copy shared
44 resources to that location.
46 <dirname property=
"shared.resources.dir"
47 file=
"${app.output.base}/${app.output.page.path}"/>
49 <x-echo>Copying shared resources to ${shared.resources.dir}...
</x-echo>
51 <copy todir=
"${shared.resources.dir}">
52 <fileset dir=
"${app.dir}" includes=
"resources/**/*"/>