| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project name="sample-character" default="help">
- <!-- The local.properties file is created and updated by the 'android' tool.
- It contains the path to the SDK. It should *NOT* be checked into
- Version Control Systems. -->
- <property file="local.properties" />
- <!-- The ant.properties file can be created by you. It is only edited by the
- 'android' tool to add properties to it.
- This is the place to change some Ant specific build properties.
- Here are some properties you may want to change/update:
- source.dir
- The name of the source directory. Default is 'src'.
- out.dir
- The name of the output directory. Default is 'bin'.
- For other overridable properties, look at the beginning of the rules
- files in the SDK, at tools/ant/build.xml
- Properties related to the SDK location or the project target should
- be updated using the 'android' tool with the 'update' action.
- This file is an integral part of the build system for your
- application and should be checked into Version Control Systems.
- -->
- <property file="ant.properties" />
- <!-- The project.properties file is created and updated by the 'android'
- tool, as well as ADT.
- This contains project specific properties such as project target, and library
- dependencies. Lower level build properties are stored in ant.properties
- (or in .classpath for Eclipse projects).
- This file is an integral part of the build system for your
- application and should be checked into Version Control Systems. -->
- <loadproperties srcFile="project.properties" />
- <!-- quick check on sdk.dir -->
- <fail message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
- unless="sdk.dir" />
- <!-- extension targets. Uncomment the ones where you want to do custom work
- in between standard targets -->
- <target name="-pre-build">
- <mkdir dir="src"/>
- </target>
-
- <!--
- <target name="-pre-compile">
- </target>
- /* This is typically used for code obfuscation.
- Compiled code location: ${out.classes.absolute.dir}
- If this is not done in place, override ${out.dex.input.absolute.dir} */
- -->
- <target name="-post-compile">
- <copy file="../game.png.config" tofile="assets/game.config"/>
- <copy file="../res/common/arial40.gpb" tofile="assets/res/common/arial40.gpb"/>
- <copy file="../res/design/backboard.png" tofile="assets/res/png/backboard.png"/>
- <copy file="../res/design/basketball.png" tofile="assets/res/png/basketball.png"/>
- <copy file="../res/design/basketballnet.png" tofile="assets/res/png/basketballnet.png"/>
- <copy file="../res/design/book.png" tofile="assets/res/png/book.png"/>
- <copy file="../res/design/bookshelf.png" tofile="assets/res/png/bookshelf.png"/>
- <copy file="../res/common/boy.animation" tofile="assets/res/common/boy.animation"/>
- <copy file="../res/design/character.png" tofile="assets/res/png/character.png"/>
- <copy file="../res/design/decals.png" tofile="assets/res/png/decals.png"/>
- <copy file="../res/design/door.png" tofile="assets/res/png/door.png"/>
- <copy file="../res/design/doorframe.png" tofile="assets/res/png/doorframe.png"/>
- <copy file="../res/design/easel.png" tofile="assets/res/png/easel.png"/>
- <copy file="../res/design/floor.png" tofile="assets/res/png/floor.png"/>
- <copy file="../res/design/floortiles.png" tofile="assets/res/png/floortiles.png"/>
- <copy file="../res/design/gamepad.png" tofile="assets/res/png/gamepad.png"/>
- <copy file="../res/design/playtable.png" tofile="assets/res/png/playtable.png"/>
- <copy file="../res/common/scene.gpb" tofile="assets/res/common/scene.gpb"/>
- <copy file="../res/common/scene.material" tofile="assets/res/common/scene.material"/>
- <copy file="../res/common/scene.physics" tofile="assets/res/common/scene.physics"/>
- <copy file="../res/common/scene.scene" tofile="assets/res/common/scene.scene"/>
- <copy file="../res/design/shadow.png" tofile="assets/res/png/shadow.png"/>
- <copy file="../res/design/storageorganizer.png" tofile="assets/res/png/storageorganizer.png"/>
- <copy file="../res/design/tableleg1.png" tofile="assets/res/png/tableleg1.png"/>
- <copy file="../res/design/tableleg2.png" tofile="assets/res/png/tableleg2.png"/>
- <copy file="../res/design/tableleg3.png" tofile="assets/res/png/tableleg3.png"/>
- <copy file="../res/design/tableleg4.png" tofile="assets/res/png/tableleg4.png"/>
- <copy file="../res/design/tabletop.png" tofile="assets/res/png/tabletop.png"/>
- <copy file="../res/design/tiles.png" tofile="assets/res/png/tiles.png"/>
- <copy file="../res/design/tilesn.png" tofile="assets/res/png/tilesn.png"/>
- <copy file="../res/design/toybox.png" tofile="assets/res/png/toybox.png"/>
- <copy file="../res/design/walleast.png" tofile="assets/res/png/walleast.png"/>
- <copy file="../res/design/wallnorth.png" tofile="assets/res/png/wallnorth.png"/>
- <copy file="../res/design/walloverhang.png" tofile="assets/res/png/walloverhang.png"/>
- <copy file="../res/design/wallsouth.png" tofile="assets/res/png/wallsouth.png"/>
- <copy file="../res/design/wallwest.png" tofile="assets/res/png/wallwest.png"/>
- <copy file="../res/design/windowledge.png" tofile="assets/res/png/windowledge.png"/>
- <copy file="../res/design/wood.png" tofile="assets/res/png/wood.png"/>
- <copy file="../res/design/woodn.png" tofile="assets/res/png/woodn.png"/>
- <copy todir="assets/res/common">
- <fileset dir="../res/common"/>
- </copy>
- <copy todir="assets/res/shaders">
- <fileset dir="../../../gameplay/res/shaders"/>
- </copy>
- <copy file="../../../gameplay/res/logo_powered_white.png" tofile="assets/res/logo_powered_white.png"/>
- </target>
- <!-- Import the actual build file.
- To customize existing targets, there are two options:
- - Customize only one target:
- - copy/paste the target into this file, *before* the
- <import> task.
- - customize it to your needs.
- - Customize the whole content of build.xml
- - copy/paste the content of the rules files (minus the top node)
- into this file, replacing the <import> task.
- - customize to your needs.
- ***********************
- ****** IMPORTANT ******
- ***********************
- In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
- in order to avoid having your file be overridden by tools such as "android update project"
- -->
- <!-- version-tag: 1 -->
- <import file="${sdk.dir}/tools/ant/build.xml" />
- </project>
|