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

Annotation of /android/TrainInfo/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1374 - (hide annotations) (download) (as text)
Sat Apr 23 08:47:43 2011 UTC (13 years, 1 month ago) by torben
File MIME type: text/xml
File size: 3871 byte(s)
add path to on-build-server build.properties
1 torben 1119 <?xml version="1.0" encoding="UTF-8"?>
2 torben 1126 <project name="TrainInfo" default="help">
3 torben 1119
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 torben 1374 <property file="/home/app/data/android-release/build.properties" />
28 torben 1119 <property file="build.properties" />
29    
30     <!-- The default.properties file is created and updated by the 'android'
31     tool, as well as ADT.
32     This file is an integral part of the build system for your
33     application and should be checked into Version Control Systems. -->
34     <property file="default.properties" />
35    
36     <!-- Custom Android task to deal with the project target, and import the
37     proper rules.
38     This requires ant 1.6.0 or above. -->
39     <path id="android.antlibs">
40     <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
41     <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
42     <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
43     </path>
44    
45     <taskdef name="setup"
46     classname="com.android.ant.SetupTask"
47     classpathref="android.antlibs" />
48    
49     <!-- extension targets. Uncomment the ones where you want to do custom work
50     in between standard targets -->
51    
52    
53     <target name="-pre-build">
54    
55     <echo message="--TrainInfoCommon--" />
56     <ant dir="../TrainInfoCommon/" antfile="../TrainInfoCommon/build.xml" inheritAll="false" />
57     <copy todir="libs">
58     <fileset dir="../TrainInfoCommon">
59     <include name="*.jar"/>
60     </fileset>
61     </copy>
62 torben 1359 <echo message="--TrainInfoCommon END--" />
63 torben 1119
64 torben 1359 <echo message="--GenericJavaUtils--" />
65     <ant dir="../GenericJavaUtils/" antfile="../GenericJavaUtils/build.xml" inheritAll="false" />
66     <copy file="../GenericJavaUtils/GenericJavaUtils.jar" todir="libs" />
67     <echo message="--GenericJavaUtils END--" />
68    
69 torben 1119 </target>
70    
71    
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    
86     <!-- Execute the Android Setup task that will setup some properties
87     specific to the target, and import the build rules files.
88    
89     The rules file is imported from
90     <SDK>/platforms/<target_platform>/ant/ant_rules_r#.xml
91    
92     To customize existing targets, there are two options:
93     - Customize only one target:
94     - copy/paste the target into this file, *before* the
95     <setup> task.
96     - customize it to your needs.
97     - Customize the whole script.
98     - copy/paste the content of the rules files (minus the top node)
99     into this file, *after* the <setup> task
100     - disable the import of the rules by changing the setup task
101     below to <setup import="false" />.
102     - customize to your needs.
103     -->
104     <setup />
105    
106     </project>

  ViewVC Help
Powered by ViewVC 1.1.20