author | Da Risk <darisk972@gmail.com> |
Tue, 22 Dec 2009 15:56:54 +0100 | |
changeset 598 | 8d54817f081f |
parent 538 | d0745275aed8 |
child 613 | 58b8abc8719b |
permissions | -rw-r--r-- |
105 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<project name="Beem" default="help"> |
|
3 |
||
4 |
<!-- The local.properties file is created and updated by the 'android' tool. |
|
5 |
It contain the path to the SDK. It should *NOT* be checked in in Version |
|
6 |
Control Systems. --> |
|
538 | 7 |
<property file="local.properties" /> |
0 | 8 |
|
9 |
<!-- The build.properties file can be created by you and is never touched |
|
105 | 10 |
by the 'android' tool. This is the place to change some of the default property values |
11 |
used by the Ant rules. |
|
12 |
Here are some properties you may want to change/update: |
|
13 |
||
538 | 14 |
application.package |
105 | 15 |
the name of your application package as defined in the manifest. Used by the |
16 |
'uninstall' rule. |
|
538 | 17 |
source.dir |
18 |
the name of the source directory. Default is 'src'. |
|
19 |
out.dir |
|
20 |
the name of the output directory. Default is 'bin'. |
|
105 | 21 |
|
22 |
Properties related to the SDK location or the project target should be updated |
|
23 |
using the 'android' tool with the 'update' action. |
|
24 |
||
25 |
This file is an integral part of the build system for your application and |
|
26 |
should be checked in in Version Control Systems. |
|
27 |
||
28 |
--> |
|
538 | 29 |
<property file="build.properties" /> |
0 | 30 |
|
105 | 31 |
<!-- The default.properties file is created and updated by the 'android' tool, as well |
538 | 32 |
as ADT. |
105 | 33 |
This file is an integral part of the build system for your application and |
34 |
should be checked in in Version Control Systems. --> |
|
538 | 35 |
<property file="default.properties" /> |
0 | 36 |
|
105 | 37 |
<!-- Custom Android task to deal with the project target, and import the proper rules. |
38 |
This requires ant 1.6.0 or above. --> |
|
39 |
<path id="android.antlibs"> |
|
538 | 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 |
<pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" /> |
|
44 |
<pathelement path="${sdk.dir}/tools/lib/jarutils.jar" /> |
|
105 | 45 |
</path> |
0 | 46 |
|
105 | 47 |
<taskdef name="setup" |
48 |
classname="com.android.ant.SetupTask" |
|
538 | 49 |
classpathref="android.antlibs" /> |
0 | 50 |
|
105 | 51 |
<!-- Execute the Android Setup task that will setup some properties specific to the target, |
538 | 52 |
and import the build rules files. |
53 |
||
54 |
The rules file is imported from |
|
55 |
<SDK>/platforms/<target_platform>/templates/android_rules.xml |
|
56 |
||
57 |
To customize some build steps for your project: |
|
58 |
- copy the content of the main node <project> from android_rules.xml |
|
59 |
- paste it in this build.xml below the <setup /> task. |
|
60 |
- disable the import by changing the setup task below to <setup import="false" /> |
|
61 |
||
105 | 62 |
This will ensure that the properties are setup correctly but that your customized |
538 | 63 |
build steps are used. |
105 | 64 |
--> |
65 |
<setup /> |
|
531
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
66 |
|
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
67 |
<property name="javadoc.output" value="doc/javadoc" /> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
68 |
<property name="external.libs.dir" value="libs" /> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
69 |
|
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
70 |
<target name="clean" |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
71 |
description="Delete old build and dist directories"> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
72 |
<delete verbose="false" dir="${out.dir}"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
73 |
</target> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
74 |
|
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
75 |
<target name="javadoc"> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
76 |
<javadoc author="true" destdir="${javadoc.output}" doctitle="Beem javadoc" source="1.6" sourcepath="${source.dir}" use="true" version="false" bootclasspathref="android.target.classpath"> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
77 |
<classpath> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
78 |
<fileset dir="${external.libs.dir}" includes="*.jar" /> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
79 |
</classpath> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
80 |
<link href="http://developer.android.com/reference" offline="true" packageListLoc="doc/android"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
81 |
<link href="http://www.igniterealtime.org/builds/smack/docs/latest/javadoc" offline="true" packageListLoc="doc/smack"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
82 |
<doctitle><![CDATA[<h1>Beem-project.com</h1>]]></doctitle> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
83 |
<bottom><![CDATA[<i>Copyright © 2009 Beem-project.com. All Rights Reserved.</i>]]></bottom> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
84 |
<doclet name="org.umlgraph.doclet.UmlGraphDoc" path="doc/UmlGraph.jar"> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
85 |
<param name="-inferrel"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
86 |
<param name="-inferdep"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
87 |
<param name="-hide" value="java.*"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
88 |
<param name="-collpackages" value="java.util.*"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
89 |
<param name="-qualify"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
90 |
<param name="-types"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
91 |
<param name="-visibility"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
92 |
<param name="-postfixpackage"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
93 |
<param name="-nodefontsize" value="9"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
94 |
<param name="-nodefontpackagesize" value="7"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
95 |
</doclet> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
96 |
</javadoc> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
97 |
</target> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
98 |
|
0 | 99 |
</project> |