forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-test-jboss-eap.xml
43 lines (32 loc) · 1.2 KB
/
build-test-jboss-eap.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
<?xml version="1.0"?>
<project name="portal-test-jboss-eap" basedir="." default="test" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test.xml" />
<target name="run-jboss-eap">
<antcall target="run-simple-server" />
<antcall target="evaluate-logs" />
</target>
<target name="run-selenium-jboss-eap">
<app-server-properties-update>
app.server.type=jboss
app.server.jboss.version=${app.server.jboss.version}
app.server.jboss.dir=${app.server.parent.dir}/jboss-eap-${app.server.jboss.version}
app.server.jboss.zip.name=jboss-eap-${app.server.jboss.version}.zip
</app-server-properties-update>
<if>
<not>
<isset property="build.app.server" />
</not>
<then>
<ant antfile="build-dist.xml" target="build-dist-jboss-eap-${app.server.jboss.major.version}" />
</then>
</if>
<antcall target="revert-test-properties" />
<ant dir="portal-impl" target="build-selenium-test-case" />
<antcall target="prepare-virtual-host-name-properties" />
<antcall target="start-selenium" />
<antcall target="run-jboss-eap" inheritAll="false">
<param name="test.class" value="${test.class}" />
</antcall>
<antcall target="stop-selenium" />
</target>
</project>