build.xml
author nikita@jibe-desktop
Fri, 20 Nov 2009 19:29:42 +0100
changeset 823 2036ebfaccda
parent 531 e344b51f93ff
child 825 b87f8688118c
permissions -rw-r--r--
debut de la gestion de l'audio, faut tester avec des pcs distincts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
105
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     2
<project name="Beem" default="help">
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     3
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     4
    <!-- The local.properties file is created and updated by the 'android' tool.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     5
         It contain the path to the SDK. It should *NOT* be checked in in Version
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     6
         Control Systems. -->
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
     7
    <property file="local.properties"/>
0
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
     8
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
     9
    <!-- The build.properties file can be created by you and is never touched
105
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    10
         by the 'android' tool. This is the place to change some of the default property values
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    11
         used by the Ant rules.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    12
         Here are some properties you may want to change/update:
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    13
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    14
         application-package
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    15
             the name of your application package as defined in the manifest. Used by the
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    16
             'uninstall' rule.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    17
         source-folder
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    18
             the name of the source folder. Default is 'src'.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    19
         out-folder
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    20
             the name of the output folder. Default is 'bin'.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    21
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    22
         Properties related to the SDK location or the project target should be updated
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    23
          using the 'android' tool with the 'update' action.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    24
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    25
         This file is an integral part of the build system for your application and
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    26
         should be checked in in Version Control Systems.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    27
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    28
         -->
0
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    29
    <property file="build.properties"/>
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    30
105
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    31
    <!-- The default.properties file is created and updated by the 'android' tool, as well
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    32
         as ADT. 
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    33
         This file is an integral part of the build system for your application and
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    34
         should be checked in in Version Control Systems. -->
0
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    35
    <property file="default.properties"/>
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    36
105
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    37
    <!-- Custom Android task to deal with the project target, and import the proper rules.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    38
         This requires ant 1.6.0 or above. -->
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    39
    <path id="android.antlibs">
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    40
        <pathelement path="${sdk-location}/tools/lib/anttasks.jar" />
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    41
        <pathelement path="${sdk-location}/tools/lib/sdklib.jar" />
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    42
        <pathelement path="${sdk-location}/tools/lib/androidprefs.jar" />
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    43
        <pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" />
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    44
        <pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    45
    </path>
0
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    46
105
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    47
    <taskdef name="setup"
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    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
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    50
105
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    51
    <!-- Execute the Android Setup task that will setup some properties specific to the target,
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    52
         and import the rules files.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    53
         To customize the rules, copy/paste them below the task, and disable import by setting
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    54
         the import attribute to false:
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    55
            <setup import="false" />
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    56
         
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    57
         This will ensure that the properties are setup correctly but that your customized
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    58
         targets are used.
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    59
    -->
c6e4728ac9f7 Passage sous cupcake :)
Da Risk <darisk972@gmail.com>
parents: 54
diff changeset
    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" />
823
2036ebfaccda debut de la gestion de l'audio, faut tester avec des pcs distincts
nikita@jibe-desktop
parents: 531
diff changeset
    66
	<property name="encoding" value="UTF-8" />
531
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 &#169; 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
ea84f930b04a Initial import
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    96
</project>