forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-test-wildfly.xml
40 lines (29 loc) · 1 KB
/
build-test-wildfly.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
<?xml version="1.0"?>
<project basedir="." default="test" name="portal-test-wildfly" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test.xml" />
<target name="run-selenium-wildfly">
<lstopwatch action="start" name="run.selenium.wildfly" />
<app-server-properties-update>
app.server.type=wildfly
</app-server-properties-update>
<if>
<not>
<isset property="build.app.server" />
</not>
<then>
<ant antfile="build-dist.xml" target="build-dist-wildfly" />
</then>
</if>
<antcall target="record-test-generated-properties" />
<antcall target="prepare-virtual-host-name-properties" />
<antcall inheritAll="false" target="run-wildfly">
<param name="test.class" value="${test.class}" />
</antcall>
<lstopwatch action="total" name="run.selenium.wildfly" />
</target>
<target name="run-wildfly">
<lstopwatch action="start" name="run.wildfly" />
<antcall target="run-simple-server" />
<lstopwatch action="total" name="run.wildfly" />
</target>
</project>