-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
48 lines (45 loc) · 1.9 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<project name="playn" default="compile" xmlns:artifact="urn:maven-artifact-ant">
<import file="etc/build-maven.xml"/>
<!-- TODO: find suitable way to factor out module list; ant doesn't have any
stock iteration capabilities and depending on ant-contrib is annoying -->
<target name="clean" description="Cleans out all submodule build results.">
<ant dir="core" target="clean"/>
<ant dir="gwtbox2d" target="clean"/>
<ant dir="webgl" target="clean"/>
<ant dir="java" target="clean"/>
<ant dir="html" target="clean"/>
<ant dir="flash" target="clean"/>
<ant dir="android" target="clean"/>
<ant dir="server" target="clean"/>
<ant dir="test/benchmark" target="clean"/>
<ant dir="test/manualtests" target="clean"/>
</target>
<target name="compile" description="Compiles all submodules.">
<ant dir="core" target="compile"/>
<ant dir="gwtbox2d" target="compile"/>
<ant dir="webgl" target="compile"/>
<ant dir="java" target="compile"/>
<ant dir="html" target="compile"/>
<ant dir="flash" target="compile"/>
<ant dir="android" target="compile"/>
<ant dir="server" target="compile"/>
<ant dir="test/benchmark" target="compile"/>
<ant dir="test/manualtests" target="compile"/>
</target>
<target name="install" depends="-init-maven-ant"
description="Compiles and deploys all submodules to local Maven repository.">
<ant dir="core" target="install"/>
<ant dir="gwtbox2d" target="install"/>
<ant dir="webgl" target="install"/>
<ant dir="java" target="install"/>
<ant dir="html" target="install"/>
<ant dir="flash" target="install"/>
<ant dir="android" target="install"/>
<ant dir="server" target="install"/>
<!-- install the playn-project artifact which is just a pom -->
<artifact:install file="pom.xml">
<pom file="pom.xml"/>
</artifact:install>
</target>
</project>