1*90c8c64dSAndroid Build Coastguard Worker<?xml version="1.0" encoding="UTF-8"?> 2*90c8c64dSAndroid Build Coastguard Worker<project name="101 Course" default="help"> 3*90c8c64dSAndroid Build Coastguard Worker 4*90c8c64dSAndroid Build Coastguard Worker <!-- The local.properties file is created and updated by the 'android' tool. 5*90c8c64dSAndroid Build Coastguard Worker It contains the path to the SDK. It should *NOT* be checked into 6*90c8c64dSAndroid Build Coastguard Worker Version Control Systems. --> 7*90c8c64dSAndroid Build Coastguard Worker <property file="local.properties" /> 8*90c8c64dSAndroid Build Coastguard Worker 9*90c8c64dSAndroid Build Coastguard Worker <!-- The ant.properties file can be created by you. It is only edited by the 10*90c8c64dSAndroid Build Coastguard Worker 'android' tool to add properties to it. 11*90c8c64dSAndroid Build Coastguard Worker This is the place to change some Ant specific build properties. 12*90c8c64dSAndroid Build Coastguard Worker Here are some properties you may want to change/update: 13*90c8c64dSAndroid Build Coastguard Worker 14*90c8c64dSAndroid Build Coastguard Worker source.dir 15*90c8c64dSAndroid Build Coastguard Worker The name of the source directory. Default is 'src'. 16*90c8c64dSAndroid Build Coastguard Worker out.dir 17*90c8c64dSAndroid Build Coastguard Worker The name of the output directory. Default is 'bin'. 18*90c8c64dSAndroid Build Coastguard Worker 19*90c8c64dSAndroid Build Coastguard Worker For other overridable properties, look at the beginning of the rules 20*90c8c64dSAndroid Build Coastguard Worker files in the SDK, at tools/ant/build.xml 21*90c8c64dSAndroid Build Coastguard Worker 22*90c8c64dSAndroid Build Coastguard Worker Properties related to the SDK location or the project target should 23*90c8c64dSAndroid Build Coastguard Worker be updated using the 'android' tool with the 'update' action. 24*90c8c64dSAndroid Build Coastguard Worker 25*90c8c64dSAndroid Build Coastguard Worker This file is an integral part of the build system for your 26*90c8c64dSAndroid Build Coastguard Worker application and should be checked into Version Control Systems. 27*90c8c64dSAndroid Build Coastguard Worker 28*90c8c64dSAndroid Build Coastguard Worker --> 29*90c8c64dSAndroid Build Coastguard Worker <property file="ant.properties" /> 30*90c8c64dSAndroid Build Coastguard Worker 31*90c8c64dSAndroid Build Coastguard Worker <!-- The project.properties file is created and updated by the 'android' 32*90c8c64dSAndroid Build Coastguard Worker tool, as well as ADT. 33*90c8c64dSAndroid Build Coastguard Worker 34*90c8c64dSAndroid Build Coastguard Worker This contains project specific properties such as project target, and library 35*90c8c64dSAndroid Build Coastguard Worker dependencies. Lower level build properties are stored in ant.properties 36*90c8c64dSAndroid Build Coastguard Worker (or in .classpath for Eclipse projects). 37*90c8c64dSAndroid Build Coastguard Worker 38*90c8c64dSAndroid Build Coastguard Worker This file is an integral part of the build system for your 39*90c8c64dSAndroid Build Coastguard Worker application and should be checked into Version Control Systems. --> 40*90c8c64dSAndroid Build Coastguard Worker <loadproperties srcFile="project.properties" /> 41*90c8c64dSAndroid Build Coastguard Worker 42*90c8c64dSAndroid Build Coastguard Worker <!-- quick check on sdk.dir --> 43*90c8c64dSAndroid Build Coastguard Worker <fail 44*90c8c64dSAndroid Build Coastguard Worker message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var" 45*90c8c64dSAndroid Build Coastguard Worker unless="sdk.dir" 46*90c8c64dSAndroid Build Coastguard Worker /> 47*90c8c64dSAndroid Build Coastguard Worker 48*90c8c64dSAndroid Build Coastguard Worker 49*90c8c64dSAndroid Build Coastguard Worker<!-- extension targets. Uncomment the ones where you want to do custom work 50*90c8c64dSAndroid Build Coastguard Worker in between standard targets --> 51*90c8c64dSAndroid Build Coastguard Worker<!-- 52*90c8c64dSAndroid Build Coastguard Worker <target name="-pre-build"> 53*90c8c64dSAndroid Build Coastguard Worker </target> 54*90c8c64dSAndroid Build Coastguard Worker <target name="-pre-compile"> 55*90c8c64dSAndroid Build Coastguard Worker </target> 56*90c8c64dSAndroid Build Coastguard Worker 57*90c8c64dSAndroid Build Coastguard Worker /* This is typically used for code obfuscation. 58*90c8c64dSAndroid Build Coastguard Worker Compiled code location: ${out.classes.absolute.dir} 59*90c8c64dSAndroid Build Coastguard Worker If this is not done in place, override ${out.dex.input.absolute.dir} */ 60*90c8c64dSAndroid Build Coastguard Worker <target name="-post-compile"> 61*90c8c64dSAndroid Build Coastguard Worker </target> 62*90c8c64dSAndroid Build Coastguard Worker--> 63*90c8c64dSAndroid Build Coastguard Worker 64*90c8c64dSAndroid Build Coastguard Worker <!-- Import the actual build file. 65*90c8c64dSAndroid Build Coastguard Worker 66*90c8c64dSAndroid Build Coastguard Worker To customize existing targets, there are two options: 67*90c8c64dSAndroid Build Coastguard Worker - Customize only one target: 68*90c8c64dSAndroid Build Coastguard Worker - copy/paste the target into this file, *before* the 69*90c8c64dSAndroid Build Coastguard Worker <import> task. 70*90c8c64dSAndroid Build Coastguard Worker - customize it to your needs. 71*90c8c64dSAndroid Build Coastguard Worker - Customize the whole content of build.xml 72*90c8c64dSAndroid Build Coastguard Worker - copy/paste the content of the rules files (minus the top node) 73*90c8c64dSAndroid Build Coastguard Worker into this file, replacing the <import> task. 74*90c8c64dSAndroid Build Coastguard Worker - customize to your needs. 75*90c8c64dSAndroid Build Coastguard Worker 76*90c8c64dSAndroid Build Coastguard Worker *********************** 77*90c8c64dSAndroid Build Coastguard Worker ****** IMPORTANT ****** 78*90c8c64dSAndroid Build Coastguard Worker *********************** 79*90c8c64dSAndroid Build Coastguard Worker In all cases you must update the value of version-tag below to read 'custom' instead of an integer, 80*90c8c64dSAndroid Build Coastguard Worker in order to avoid having your file be overridden by tools such as "android update project" 81*90c8c64dSAndroid Build Coastguard Worker --> 82*90c8c64dSAndroid Build Coastguard Worker <!-- version-tag: 1 --> 83*90c8c64dSAndroid Build Coastguard Worker <import file="${sdk.dir}/tools/ant/build.xml" /> 84*90c8c64dSAndroid Build Coastguard Worker 85*90c8c64dSAndroid Build Coastguard Worker</project> 86