-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
31 lines (25 loc) · 812 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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.
Usage:
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:
build.xml:
...
<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"/>
</project>