-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
30 lines (27 loc) · 833 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
<project name="apitester">
<property file="build.${user.name}.properties" />
<property file="build.properties" />
<target name="build">
<exec executable="${mvn_executable}">
<arg value="clean"/>
<arg value="install"/>
</exec>
<mkdir dir="${webapps}/apitester"/>
<sync todir="${webapps}/apitester">
<fileset dir="apitester-webapp-example/target/apitester-webapp-example"/>
</sync>
</target>
<target name="sync">
<sync todir="apitester-webapp/src/main/webapp/apitester">
<fileset dir="${webapps}/apitester/apitester"/>
</sync>
<sync todir="${webapps}/apitester/apitester">
<fileset dir="apitester-webapp/src/main/webapp/apitester"/>
</sync>
<sleep seconds="1"/>
<antcall target="other"></antcall>
</target>
<target name="other">
<antcall target="sync"></antcall>
</target>
</project>