1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<project name="TrainInfo" default="help"> |
3 |
|
4 |
<!-- The local.properties file is created and updated by the 'android' tool. |
5 |
It contains the path to the SDK. It should *NOT* be checked into |
6 |
Version Control Systems. --> |
7 |
<property file="/home/app/data/android-release/build.properties" /> |
8 |
<!-- <loadproperties srcFile="local.properties" /> --> |
9 |
|
10 |
<!-- The ant.properties file can be created by you. It is only edited by the |
11 |
'android' tool to add properties to it. |
12 |
This is the place to change some Ant specific build properties. |
13 |
Here are some properties you may want to change/update: |
14 |
|
15 |
source.dir |
16 |
The name of the source directory. Default is 'src'. |
17 |
out.dir |
18 |
The name of the output directory. Default is 'bin'. |
19 |
|
20 |
For other overridable properties, look at the beginning of the rules |
21 |
files in the SDK, at tools/ant/build.xml |
22 |
|
23 |
Properties related to the SDK location or the project target should |
24 |
be updated using the 'android' tool with the 'update' action. |
25 |
|
26 |
This file is an integral part of the build system for your |
27 |
application and should be checked into Version Control Systems. |
28 |
|
29 |
--> |
30 |
<property file="ant.properties" /> |
31 |
|
32 |
|
33 |
<!-- The project.properties file is created and updated by the 'android' |
34 |
tool, as well as ADT. |
35 |
|
36 |
This contains project specific properties such as project target, and library |
37 |
dependencies. Lower level build properties are stored in ant.properties |
38 |
(or in .classpath for Eclipse projects). |
39 |
|
40 |
This file is an integral part of the build system for your |
41 |
application and should be checked into Version Control Systems. --> |
42 |
<loadproperties srcFile="project.properties" /> |
43 |
|
44 |
<!-- quick check on sdk.dir --> |
45 |
<fail |
46 |
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'" |
47 |
unless="sdk.dir" |
48 |
/> |
49 |
|
50 |
|
51 |
<target name="-pre-build"> |
52 |
|
53 |
<echo message="--TrainInfoCommon--" /> |
54 |
<ant dir="../TrainInfoCommon/" antfile="../TrainInfoCommon/build.xml" inheritAll="false" /> |
55 |
<copy todir="libs"> |
56 |
<fileset dir="../TrainInfoCommon"> |
57 |
<include name="*.jar"/> |
58 |
</fileset> |
59 |
</copy> |
60 |
<echo message="--TrainInfoCommon END--" /> |
61 |
|
62 |
<echo message="--GenericJavaUtils--" /> |
63 |
<ant dir="../GenericJavaUtils/" antfile="../GenericJavaUtils/build.xml" inheritAll="false" /> |
64 |
<copy file="../GenericJavaUtils/GenericJavaUtils.jar" todir="libs" /> |
65 |
<echo message="--GenericJavaUtils END--" /> |
66 |
|
67 |
</target> |
68 |
|
69 |
|
70 |
<!-- extension targets. Uncomment the ones where you want to do custom work |
71 |
in between standard targets --> |
72 |
<!-- |
73 |
<target name="-pre-build"> |
74 |
</target> |
75 |
<target name="-pre-compile"> |
76 |
</target> |
77 |
|
78 |
/* This is typically used for code obfuscation. |
79 |
Compiled code location: ${out.classes.absolute.dir} |
80 |
If this is not done in place, override ${out.dex.input.absolute.dir} */ |
81 |
<target name="-post-compile"> |
82 |
</target> |
83 |
--> |
84 |
|
85 |
<!-- Import the actual build file. |
86 |
|
87 |
To customize existing targets, there are two options: |
88 |
- Customize only one target: |
89 |
- copy/paste the target into this file, *before* the |
90 |
<import> task. |
91 |
- customize it to your needs. |
92 |
- Customize the whole content of build.xml |
93 |
- copy/paste the content of the rules files (minus the top node) |
94 |
into this file, replacing the <import> task. |
95 |
- customize to your needs. |
96 |
|
97 |
*********************** |
98 |
****** IMPORTANT ****** |
99 |
*********************** |
100 |
In all cases you must update the value of version-tag below to read 'custom' instead of an integer, |
101 |
in order to avoid having your file be overridden by tools such as "android update project" |
102 |
--> |
103 |
<!-- version-tag: 1 --> |
104 |
<import file="${sdk.dir}/tools/ant/build.xml" /> |
105 |
|
106 |
</project> |