forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-test-weblogic.xml
More file actions
76 lines (51 loc) · 1.94 KB
/
Copy pathbuild-test-weblogic.xml
File metadata and controls
76 lines (51 loc) · 1.94 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0"?>
<project basedir="." default="test" name="portal-test-weblogic" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test.xml" />
<target name="run-selenium-weblogic">
<lstopwatch action="start" name="run.selenium.weblogic" />
<app-server-properties-update>
app.server.type=weblogic
</app-server-properties-update>
<if>
<not>
<isset property="build.app.server" />
</not>
<then>
<local name="java.jdk.home" />
<get-java-jdk-home type="oracle" version="17" />
<ant antfile="build-dist.xml" inheritAll="false" target="unzip-weblogic">
<property name="weblogic.java.jdk.home" value="${java.jdk.home}" />
</ant>
<ant target="all" />
</then>
</if>
<antcall target="record-test-generated-properties" />
<antcall target="prepare-selenium">
<param name="test.class" value="${test.class}" />
</antcall>
<antcall inheritAll="false" target="run-weblogic">
<param name="test.class" value="${test.class}" />
</antcall>
<lstopwatch action="total" name="run.selenium.weblogic" />
</target>
<target name="run-weblogic">
<lstopwatch action="start" name="run.weblogic" />
<antcall target="run-simple-server" />
<lstopwatch action="total" name="run.weblogic" />
</target>
<target name="setup-weblogic-playwright">
<lstopwatch action="start" name="setup.weblogic" />
<app-server-properties-update>
app.server.type=weblogic
</app-server-properties-update>
<set-app-server-version-number app.server.type="weblogic" app.server.version="15.1.1" />
<antcall target="prepare-osgi-module-configurations" />
<antcall target="prepare-portal-ext-properties" />
<antcall target="prepare-portlet-ext-properties" />
<antcall target="prepare-system-ext-properties" />
<prepare-app-server-configuration />
<prepare-database-jndi />
<antcall target="clean-app-server-deploy-dir" />
<lstopwatch action="total" name="setup.weblogic" />
</target>
</project>