Mercurial > hg > Members > nobuyasu > TOModel
comparison build.xml @ 0:e45bf6020b0d draft
add play files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Sep 2012 04:36:47 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e45bf6020b0d |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <!-- | |
3 This file provides limited functionalities for system without Python. | |
4 If Python is available, the play command is recommended over this build file. | |
5 | |
6 Usage: | |
7 Example 1: | |
8 export PLAY_PATH=/home/user/play | |
9 ant run | |
10 Sets play path to the environment variable PLAY_PATH and then runs play with target run. | |
11 | |
12 Example 2: | |
13 ant run -Dplay.path=/home/user/play | |
14 Gives the play path to the ant as command line property. | |
15 | |
16 Example 3: | |
17 build.xml: | |
18 ... | |
19 <property name="play.path" value="/home/user/play"/> | |
20 ... | |
21 | |
22 ant run | |
23 Sets the play path to the build.xml directly. | |
24 --> | |
25 <project basedir="."> | |
26 | |
27 <property environment="env"/> | |
28 <property name="play.path" value="${env.PLAY_PATH}"/> | |
29 <import file="${play.path}/resources/application-build.xml"/> | |
30 | |
31 </project> |