forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build-test-cookies.xml
45 lines (38 loc) · 1.65 KB
/
build-test-cookies.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
<?xml version="1.0"?>
<project basedir="." name="portal-test-cookies" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test.xml" />
<target name="update-cookies-osgi-instance-configuration">
<replace
file="${liferay.home}/osgi/configs/com.liferay.cookies.configuration.banner.CookiesBannerConfiguration.scoped~default.config"
token="companyId=L"20122""
value="companyId=L"${companyId}""
/>
<replace
file="${liferay.home}/osgi/configs/com.liferay.cookies.configuration.consent.CookiesConsentConfiguration.scoped~default.config"
token="companyId=L"20122""
value="companyId=L"${companyId}""
/>
<replace
file="${liferay.home}/osgi/configs/com.liferay.cookies.configuration.CookiesPreferenceHandlingConfiguration.scoped~default.config"
token="companyId=L"20122""
value="companyId=L"${companyId}""
/>
</target>
<target name="update-cookies-osgi-site-configuration">
<replace
file="${liferay.home}/osgi/configs/com.liferay.cookies.configuration.banner.CookiesBannerConfiguration.scoped~default.config"
token="groupId=L"20122""
value="groupId=L"${siteId}""
/>
<replace
file="${liferay.home}/osgi/configs/com.liferay.cookies.configuration.consent.CookiesConsentConfiguration.scoped~default.config"
token="groupId=L"20122""
value="groupId=L"${siteId}""
/>
<replace
file="${liferay.home}/osgi/configs/com.liferay.cookies.configuration.CookiesPreferenceHandlingConfiguration.scoped~default.config"
token="groupId=L"20122""
value="groupId=L"${siteId}""
/>
</target>
</project>