]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | <?xml version="1.0" encoding="utf-8"?>\r |
2 | <project name="core" default=".help">\r | |
3 | <!--\r | |
4 | The build-impl.xml file imported here contains the guts of the build process. It is\r | |
5 | a great idea to read that file to understand how the process works, but it is best to\r | |
6 | limit your changes to this file.\r | |
7 | -->\r | |
8 | <import file="${basedir}/.sencha/package/build-impl.xml"/>\r | |
9 | <import file="${basedir}/.sencha/test/test-impl.xml"/>\r | |
10 | \r | |
11 | <!--\r | |
12 | The following targets can be provided to inject logic before and/or after key steps\r | |
13 | of the build process:\r | |
14 | \r | |
15 | The "init-local" target is used to initialize properties that may be personalized\r | |
16 | for the local machine.\r | |
17 | \r | |
18 | <target name="-before-init-local"/>\r | |
19 | <target name="-after-init-local"/>\r | |
20 | \r | |
21 | The "clean" target is used to clean build output from the build.dir.\r | |
22 | \r | |
23 | <target name="-before-clean"/>\r | |
24 | <target name="-after-clean"/>\r | |
25 | \r | |
26 | The general "init" target is used to initialize all other properties, including\r | |
27 | those provided by Sencha Cmd.\r | |
28 | \r | |
29 | <target name="-before-init"/>\r | |
30 | <target name="-after-init"/>\r | |
31 | \r | |
32 | The "build" target performs the call to Sencha Cmd to build the application.\r | |
33 | \r | |
34 | <target name="-before-build"/>\r | |
35 | <target name="-after-build"/>\r | |
36 | -->\r | |
37 | \r | |
38 | <target name="-after-apply-version">\r | |
39 | <replace file="${package.dir}/src/util/Version.js"\r | |
40 | token="'5.0.0'"\r | |
41 | value="'${build.version}'"/>\r | |
42 | </target>\r | |
43 | \r | |
44 | \r | |
45 | \r | |
46 | <!--\r | |
47 | ******************************************************************\r | |
48 | Private/Internal targets\r | |
49 | ******************************************************************\r | |
50 | -->\r | |
51 | <target name="bootstrap" depends="init">\r | |
52 | <x-sencha-command>\r | |
53 | <![CDATA[\r | |
54 | compile\r | |
55 | -ignore=diag\r | |
56 | union\r | |
57 | -tag=package-core\r | |
58 | and\r | |
59 | metadata\r | |
60 | -base-path=${basedir}\r | |
61 | +filenames\r | |
62 | -jsonp=ExtBootstrap.loadScript\r | |
63 | -out=${basedir}/bootstrap-files.js\r | |
64 | and\r | |
65 | include\r | |
66 | +all\r | |
67 | and\r | |
68 | exclude\r | |
69 | -file=Ext.js\r | |
70 | and\r | |
71 | metadata\r | |
72 | -base-path=${basedir}\r | |
73 | +loader-paths\r | |
74 | -jsonp=ExtBootstrap.loadClassPaths\r | |
75 | -out=${basedir}/bootstrap-data.js\r | |
76 | and\r | |
77 | metadata\r | |
78 | -base-path=${basedir}\r | |
79 | +alternates\r | |
80 | +append\r | |
81 | -out=${basedir}/bootstrap-data.js\r | |
82 | and\r | |
83 | metadata\r | |
84 | -base-path=${basedir}\r | |
85 | +alias\r | |
86 | +append\r | |
87 | -out=${basedir}/bootstrap-data.js\r | |
88 | ]]>\r | |
89 | </x-sencha-command>\r | |
90 | </target>\r | |
91 | \r | |
92 | </project>\r |