author | Da Risk <da_risk@beem-project.com> |
Sat, 02 Mar 2013 15:51:59 +0100 | |
changeset 1025 | 5aa4849e9343 |
parent 1006 | 246d10f27fc6 |
permissions | -rw-r--r-- |
105 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
941
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
2 |
<project name="Beem" default="help"> |
105 | 3 |
|
4 |
<!-- The local.properties file is created and updated by the 'android' tool. |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
5 |
It contains the path to the SDK. It should *NOT* be checked into |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
6 |
Version Control Systems. --> |
941
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
7 |
<property file="local.properties" /> |
0 | 8 |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
9 |
<!-- The ant.properties file can be created by you. It is only edited by the |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
10 |
'android' tool to add properties to it. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
11 |
This is the place to change some Ant specific build properties. |
105 | 12 |
Here are some properties you may want to change/update: |
13 |
||
538 | 14 |
source.dir |
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
15 |
The name of the source directory. Default is 'src'. |
538 | 16 |
out.dir |
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
17 |
The name of the output directory. Default is 'bin'. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
18 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
19 |
For other overridable properties, look at the beginning of the rules |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
20 |
files in the SDK, at tools/ant/build.xml |
936 | 21 |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
22 |
Properties related to the SDK location or the project target should |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
23 |
be updated using the 'android' tool with the 'update' action. |
105 | 24 |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
25 |
This file is an integral part of the build system for your |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
26 |
application and should be checked into Version Control Systems. |
105 | 27 |
|
28 |
--> |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
29 |
<property file="ant.properties" /> |
0 | 30 |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
31 |
<!-- The project.properties file is created and updated by the 'android' |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
32 |
tool, as well as ADT. |
0 | 33 |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
34 |
This contains project specific properties such as project target, and library |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
35 |
dependencies. Lower level build properties are stored in ant.properties |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
36 |
(or in .classpath for Eclipse projects). |
941
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
37 |
|
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
38 |
This file is an integral part of the build system for your |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
39 |
application and should be checked into Version Control Systems. --> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
40 |
<loadproperties srcFile="project.properties" /> |
941
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
41 |
|
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
42 |
<property name="javadoc.output" value="doc/javadoc" /> |
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
43 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
44 |
<!-- quick check on sdk.dir --> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
45 |
<fail |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
46 |
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var" |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
47 |
unless="sdk.dir" |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
48 |
/> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
49 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
50 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
51 |
<!-- extension targets. Uncomment the ones where you want to do custom work |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
52 |
in between standard targets --> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
53 |
<!-- |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
54 |
<target name="-pre-build"> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
55 |
</target> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
56 |
<target name="-pre-compile"> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
57 |
</target> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
58 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
59 |
/* This is typically used for code obfuscation. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
60 |
Compiled code location: ${out.classes.absolute.dir} |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
61 |
If this is not done in place, override ${out.dex.input.absolute.dir} */ |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
62 |
<target name="-post-compile"> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
63 |
</target> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
64 |
--> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
65 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
66 |
<target name="-pre-clean" > |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
67 |
<delete dir="${javadoc.output}" verbose="${verbose}" /> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
68 |
</target> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
69 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
70 |
<!-- Import the actual build file. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
71 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
72 |
To customize existing targets, there are two options: |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
73 |
- Customize only one target: |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
74 |
- copy/paste the target into this file, *before* the |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
75 |
<import> task. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
76 |
- customize it to your needs. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
77 |
- Customize the whole content of build.xml |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
78 |
- copy/paste the content of the rules files (minus the top node) |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
79 |
into this file, replacing the <import> task. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
80 |
- customize to your needs. |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
81 |
|
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
82 |
*********************** |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
83 |
****** IMPORTANT ****** |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
84 |
*********************** |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
85 |
In all cases you must update the value of version-tag below to read 'custom' instead of an integer, |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
86 |
in order to avoid having your file be overridden by tools such as "android update project" |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
87 |
--> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
88 |
<!-- version-tag: custom --> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
89 |
<import file="${sdk.dir}/tools/ant/build.xml" /> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
90 |
|
941
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
91 |
<property name="external.libs.dir" value="libs" /> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
92 |
|
1006
246d10f27fc6
Fix target javadoc for latest sdk.
Da Risk <da_risk@beem-project.com>
parents:
956
diff
changeset
|
93 |
<target name="javadoc" depends="-build-setup, -set-debug-mode, -code-gen"> |
246d10f27fc6
Fix target javadoc for latest sdk.
Da Risk <da_risk@beem-project.com>
parents:
956
diff
changeset
|
94 |
<javadoc author="true" destdir="${javadoc.output}" doctitle="Beem javadoc" source="1.6" use="true" version="false" bootclasspathref="project.target.class.path"> |
956
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
95 |
<sourcepath> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
96 |
<pathelement location="${source.dir}" /> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
97 |
<pathelement location="${gen.absolute.dir}" /> |
33bd868cd939
Update build script to support latest android tools out from the box
Da Risk <da_risk@beem-project.com>
parents:
941
diff
changeset
|
98 |
</sourcepath> |
941
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
99 |
<classpath> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
100 |
<fileset dir="${external.libs.dir}" includes="*.jar" /> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
101 |
</classpath> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
102 |
<link href="http://developer.android.com/reference" offline="true" packageListLoc="doc/android"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
103 |
<link href="http://www.igniterealtime.org/builds/smack/docs/latest/javadoc" offline="true" packageListLoc="doc/smack"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
104 |
<doctitle><![CDATA[<h1>Beem-project.com</h1>]]></doctitle> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
105 |
<bottom><![CDATA[<i>Copyright © 2009 Beem-project.com. All Rights Reserved.</i>]]></bottom> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
106 |
<doclet name="org.umlgraph.doclet.UmlGraphDoc" path="doc/UmlGraph.jar"> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
107 |
<param name="-inferrel"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
108 |
<param name="-inferdep"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
109 |
<param name="-hide" value="java.*"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
110 |
<param name="-collpackages" value="java.util.*"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
111 |
<param name="-qualify"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
112 |
<param name="-types"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
113 |
<param name="-visibility"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
114 |
<param name="-postfixpackage"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
115 |
<param name="-nodefontsize" value="9"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
116 |
<param name="-nodefontpackagesize" value="7"/> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
117 |
</doclet> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
118 |
</javadoc> |
05909f132584
revert a bad push on build.xml
Nikita Kozlov <nikita@beem-project.com>
parents:
936
diff
changeset
|
119 |
</target> |
531
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
120 |
|
0 | 121 |
</project> |