/[projects]/android/TrainInfo/build.xml
ViewVC logotype

Contents of /android/TrainInfo/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1359 - (show annotations) (download) (as text)
Wed Apr 20 19:17:56 2011 UTC (13 years ago) by torben
File MIME type: text/xml
File size: 3799 byte(s)
update build file with new dependencies
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'
5 tool.
6 It contains the path to the SDK. It should *NOT* be checked into
7 Version Control Systems. -->
8 <property file="local.properties" />
9
10 <!-- The build.properties file can be created by you and is never touched
11 by the 'android' tool. This is the place to change some of the
12 default property values used by the Ant rules.
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 Properties related to the SDK location or the project target should
21 be updated using the 'android' tool with the 'update' action.
22
23 This file is an integral part of the build system for your
24 application and should be checked into Version Control Systems.
25
26 -->
27 <property file="build.properties" />
28
29 <!-- The default.properties file is created and updated by the 'android'
30 tool, as well as ADT.
31 This file is an integral part of the build system for your
32 application and should be checked into Version Control Systems. -->
33 <property file="default.properties" />
34
35 <!-- Custom Android task to deal with the project target, and import the
36 proper rules.
37 This requires ant 1.6.0 or above. -->
38 <path id="android.antlibs">
39 <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
40 <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
41 <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
42 </path>
43
44 <taskdef name="setup"
45 classname="com.android.ant.SetupTask"
46 classpathref="android.antlibs" />
47
48 <!-- extension targets. Uncomment the ones where you want to do custom work
49 in between standard targets -->
50
51
52 <target name="-pre-build">
53
54 <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
63 <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
68 </target>
69
70
71 <!--
72 <target name="-pre-build">
73 </target>
74 <target name="-pre-compile">
75 </target>
76
77 [This is typically used for code obfuscation.
78 Compiled code location: ${out.classes.absolute.dir}
79 If this is not done in place, override ${out.dex.input.absolute.dir}]
80 <target name="-post-compile">
81 </target>
82 -->
83
84
85 <!-- Execute the Android Setup task that will setup some properties
86 specific to the target, and import the build rules files.
87
88 The rules file is imported from
89 <SDK>/platforms/<target_platform>/ant/ant_rules_r#.xml
90
91 To customize existing targets, there are two options:
92 - Customize only one target:
93 - copy/paste the target into this file, *before* the
94 <setup> task.
95 - customize it to your needs.
96 - Customize the whole script.
97 - copy/paste the content of the rules files (minus the top node)
98 into this file, *after* the <setup> task
99 - disable the import of the rules by changing the setup task
100 below to <setup import="false" />.
101 - customize to your needs.
102 -->
103 <setup />
104
105 </project>

  ViewVC Help
Powered by ViewVC 1.1.20