view build.xml @ 4:e12d0b6dbe02 draft default tip

add some files
author e085711
date Wed, 26 Sep 2012 14:43:57 +0900
parents e45bf6020b0d
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
This file provides limited functionalities for system without Python.
If Python is available, the play command is recommended over this build file.

Example 1:
    export PLAY_PATH=/home/user/play
    ant run
Sets play path to the environment variable PLAY_PATH and then runs play with target run.

Example 2:
    ant run -Dplay.path=/home/user/play
Gives the play path to the ant as command line property.

Example 3:
    <property name="play.path" value="/home/user/play"/>

    ant run
Sets the play path to the build.xml directly.
<project basedir=".">

    <property environment="env"/>
    <property name="play.path" value="${env.PLAY_PATH}"/>
    <import file="${play.path}/resources/application-build.xml"/>