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 |
1816 |
<!-- <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 |
1817 |
<property name="jar.libs.dir" value="libs" /> |
32 |
torben |
1119 |
|
33 |
torben |
1711 |
|
34 |
torben |
1639 |
<!-- The project.properties file is created and updated by the 'android' |
35 |
torben |
1119 |
tool, as well as ADT. |
36 |
torben |
1639 |
|
37 |
|
|
This contains project specific properties such as project target, and library |
38 |
|
|
dependencies. Lower level build properties are stored in ant.properties |
39 |
|
|
(or in .classpath for Eclipse projects). |
40 |
|
|
|
41 |
torben |
1119 |
This file is an integral part of the build system for your |
42 |
|
|
application and should be checked into Version Control Systems. --> |
43 |
torben |
1639 |
<loadproperties srcFile="project.properties" /> |
44 |
torben |
1119 |
|
45 |
torben |
1639 |
<!-- quick check on sdk.dir --> |
46 |
|
|
<fail |
47 |
|
|
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'" |
48 |
|
|
unless="sdk.dir" |
49 |
|
|
/> |
50 |
torben |
1119 |
|
51 |
|
|
|
52 |
torben |
1639 |
<target name="-pre-build"> |
53 |
torben |
1119 |
|
54 |
torben |
1639 |
<echo message="--TrainInfoCommon--" /> |
55 |
|
|
<ant dir="../TrainInfoCommon/" antfile="../TrainInfoCommon/build.xml" inheritAll="false" /> |
56 |
|
|
<copy todir="libs"> |
57 |
|
|
<fileset dir="../TrainInfoCommon"> |
58 |
|
|
<include name="*.jar"/> |
59 |
|
|
</fileset> |
60 |
|
|
</copy> |
61 |
|
|
<echo message="--TrainInfoCommon END--" /> |
62 |
torben |
1119 |
|
63 |
torben |
1639 |
<echo message="--GenericJavaUtils--" /> |
64 |
|
|
<ant dir="../GenericJavaUtils/" antfile="../GenericJavaUtils/build.xml" inheritAll="false" /> |
65 |
|
|
<copy file="../GenericJavaUtils/GenericJavaUtils.jar" todir="libs" /> |
66 |
|
|
<echo message="--GenericJavaUtils END--" /> |
67 |
torben |
1119 |
|
68 |
torben |
1639 |
</target> |
69 |
torben |
1119 |
|
70 |
torben |
1359 |
|
71 |
torben |
1639 |
<!-- extension targets. Uncomment the ones where you want to do custom work |
72 |
|
|
in between standard targets --> |
73 |
torben |
1119 |
<!-- |
74 |
|
|
<target name="-pre-build"> |
75 |
|
|
</target> |
76 |
|
|
<target name="-pre-compile"> |
77 |
|
|
</target> |
78 |
|
|
|
79 |
torben |
1639 |
/* This is typically used for code obfuscation. |
80 |
|
|
Compiled code location: ${out.classes.absolute.dir} |
81 |
|
|
If this is not done in place, override ${out.dex.input.absolute.dir} */ |
82 |
torben |
1119 |
<target name="-post-compile"> |
83 |
|
|
</target> |
84 |
|
|
--> |
85 |
|
|
|
86 |
torben |
1639 |
<!-- Import the actual build file. |
87 |
torben |
1119 |
|
88 |
|
|
To customize existing targets, there are two options: |
89 |
|
|
- Customize only one target: |
90 |
|
|
- copy/paste the target into this file, *before* the |
91 |
torben |
1639 |
<import> task. |
92 |
torben |
1119 |
- customize it to your needs. |
93 |
torben |
1639 |
- Customize the whole content of build.xml |
94 |
torben |
1119 |
- copy/paste the content of the rules files (minus the top node) |
95 |
torben |
1639 |
into this file, replacing the <import> task. |
96 |
torben |
1119 |
- customize to your needs. |
97 |
torben |
1639 |
|
98 |
|
|
*********************** |
99 |
|
|
****** IMPORTANT ****** |
100 |
|
|
*********************** |
101 |
|
|
In all cases you must update the value of version-tag below to read 'custom' instead of an integer, |
102 |
|
|
in order to avoid having your file be overridden by tools such as "android update project" |
103 |
torben |
1119 |
--> |
104 |
torben |
1639 |
<!-- version-tag: 1 --> |
105 |
|
|
<import file="${sdk.dir}/tools/ant/build.xml" /> |
106 |
torben |
1119 |
|
107 |
|
|
</project> |