author | Da Risk <darisk972@gmail.com> |
Thu, 19 Nov 2009 01:48:54 +0100 | |
changeset 531 | e344b51f93ff |
parent 359 | dff3e3f715d9 |
child 538 | d0745275aed8 |
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. --> |
|
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 |
||
14 |
application-package |
|
15 |
the name of your application package as defined in the manifest. Used by the |
|
16 |
'uninstall' rule. |
|
17 |
source-folder |
|
18 |
the name of the source folder. Default is 'src'. |
|
19 |
out-folder |
|
20 |
the name of the output folder. Default is 'bin'. |
|
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 |
--> |
|
0 | 29 |
<property file="build.properties"/> |
30 |
||
105 | 31 |
<!-- The default.properties file is created and updated by the 'android' tool, as well |
32 |
as ADT. |
|
33 |
This file is an integral part of the build system for your application and |
|
34 |
should be checked in in Version Control Systems. --> |
|
0 | 35 |
<property file="default.properties"/> |
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"> |
|
40 |
<pathelement path="${sdk-location}/tools/lib/anttasks.jar" /> |
|
41 |
<pathelement path="${sdk-location}/tools/lib/sdklib.jar" /> |
|
42 |
<pathelement path="${sdk-location}/tools/lib/androidprefs.jar" /> |
|
43 |
<pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" /> |
|
44 |
<pathelement path="${sdk-location}/tools/lib/jarutils.jar" /> |
|
45 |
</path> |
|
0 | 46 |
|
105 | 47 |
<taskdef name="setup" |
48 |
classname="com.android.ant.SetupTask" |
|
359
dff3e3f715d9
maj du build.xml pour pouvoir compiler avec ant
Nikita Kozlov <nikita@beem-project.com>
parents:
158
diff
changeset
|
49 |
classpathref="android.antlibs"/> |
0 | 50 |
|
105 | 51 |
<!-- Execute the Android Setup task that will setup some properties specific to the target, |
52 |
and import the rules files. |
|
53 |
To customize the rules, copy/paste them below the task, and disable import by setting |
|
54 |
the import attribute to false: |
|
55 |
<setup import="false" /> |
|
56 |
||
57 |
This will ensure that the properties are setup correctly but that your customized |
|
58 |
targets are used. |
|
59 |
--> |
|
60 |
<setup /> |
|
531
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
61 |
|
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
62 |
<property name="out.dir" value="bin" /> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
63 |
<property name="source.dir" value="src" /> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
64 |
<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
|
65 |
<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
|
66 |
|
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
67 |
<target name="clean" |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
68 |
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
|
69 |
<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
|
70 |
</target> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
71 |
|
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
72 |
<target name="javadoc"> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
73 |
<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
|
74 |
<classpath> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
75 |
<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
|
76 |
</classpath> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
77 |
<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
|
78 |
<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
|
79 |
<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
|
80 |
<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
|
81 |
<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
|
82 |
<param name="-inferrel"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
83 |
<param name="-inferdep"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
84 |
<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
|
85 |
<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
|
86 |
<param name="-qualify"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
87 |
<param name="-types"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
88 |
<param name="-visibility"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
89 |
<param name="-postfixpackage"/> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
90 |
<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
|
91 |
<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
|
92 |
</doclet> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
93 |
</javadoc> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
94 |
</target> |
e344b51f93ff
Merge the javadoc ant build script in the build.xml
Da Risk <darisk972@gmail.com>
parents:
359
diff
changeset
|
95 |
|
0 | 96 |
</project> |