1 |
torben |
1119 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
torben |
1126 |
<project name="TrainInfo" default="help"> |
3 |
torben |
1119 |
|
4 |
torben |
1639 |
<!-- 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 |
torben |
1711 |
<property file="/home/app/data/android-release/build.properties" /> |
8 |
torben |
1815 |
<loadproperties srcFile="local.properties" /> |
9 |
torben |
1119 |
|
10 |
torben |
1639 |
<!-- 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 |
torben |
1119 |
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 |
torben |
1639 |
For other overridable properties, look at the beginning of the rules |
21 |
|
|
files in the SDK, at tools/ant/build.xml |
22 |
|
|
|
23 |
torben |
1119 |
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 |
torben |
1639 |
<property file="ant.properties" /> |
31 |
torben |
1119 |
|
32 |
torben |
1711 |
|
33 |
torben |
1639 |
<!-- The project.properties file is created and updated by the 'android' |
34 |
torben |
1119 |
tool, as well as ADT. |
35 |
torben |
1639 |
|
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 |
torben |
1119 |
This file is an integral part of the build system for your |
41 |
|
|
application and should be checked into Version Control Systems. --> |
42 |
torben |
1639 |
<loadproperties srcFile="project.properties" /> |
43 |
torben |
1119 |
|
44 |
torben |
1639 |
<!-- 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 |
torben |
1119 |
|
50 |
|
|
|
51 |
torben |
1639 |
<target name="-pre-build"> |
52 |
torben |
1119 |
|
53 |
torben |
1639 |
<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 |
torben |
1119 |
|
62 |
torben |
1639 |
<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 |
torben |
1119 |
|
67 |
torben |
1639 |
</target> |
68 |
torben |
1119 |
|
69 |
torben |
1359 |
|
70 |
torben |
1639 |
<!-- extension targets. Uncomment the ones where you want to do custom work |
71 |
|
|
in between standard targets --> |
72 |
torben |
1119 |
<!-- |
73 |
|
|
<target name="-pre-build"> |
74 |
|
|
</target> |
75 |
|
|
<target name="-pre-compile"> |
76 |
|
|
</target> |
77 |
|
|
|
78 |
torben |
1639 |
/* 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 |
torben |
1119 |
<target name="-post-compile"> |
82 |
|
|
</target> |
83 |
|
|
--> |
84 |
|
|
|
85 |
torben |
1639 |
<!-- Import the actual build file. |
86 |
torben |
1119 |
|
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 |
torben |
1639 |
<import> task. |
91 |
torben |
1119 |
- customize it to your needs. |
92 |
torben |
1639 |
- Customize the whole content of build.xml |
93 |
torben |
1119 |
- copy/paste the content of the rules files (minus the top node) |
94 |
torben |
1639 |
into this file, replacing the <import> task. |
95 |
torben |
1119 |
- customize to your needs. |
96 |
torben |
1639 |
|
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 |
torben |
1119 |
--> |
103 |
torben |
1639 |
<!-- version-tag: 1 --> |
104 |
|
|
<import file="${sdk.dir}/tools/ant/build.xml" /> |
105 |
torben |
1119 |
|
106 |
|
|
</project> |