-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildcallbacks.xml
103 lines (77 loc) · 3.66 KB
/
buildcallbacks.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
[y] hybris Platform
Copyright (c) 2017 SAP SE or an SAP affiliate company. All rights reserved.
This software is the confidential and proprietary information of SAP
("Confidential Information"). You shall not disclose such Confidential
Information and shall use it only in accordance with the terms of the
license agreement you entered into with SAP.
--><!--
All hybris buildcallbacks.xml macrodefinitions:
Build/Documentation
before/after ant macro "clean"
<macrodef name="concerttours_before_clean"/>
<macrodef name="concerttours_after_clean"/>
before/after ant macro "build"
<macrodef name="concerttours_before_build"/>
<macrodef name="concerttours_after_build"/>
before/after ant macro "compile_core" - the core module of the extension
<macrodef name="concerttours_before_compile_core">
<macrodef name="concerttours_after_compile_core">
before/after ant macro "compile_web" - the web module of the extension
<macrodef name="concerttours_before_compile_web" />
<macrodef name="concerttours_after_compile_web" />
before/after ant macro "compile_hmc" - the hmc module of the extension
<macrodef name="concerttours_before_compile_hmc" />
<macrodef name="concerttours_after_compile_hmc" />
Preparing extension
will be called in the beginning of the ant call and only once (also when using multiple
ant targets e.g. ant build yunittest)
<macrodef name="concerttours_only_once_prepare"/>
Creating ear module/production
before/after ant macro "ear"
<macrodef name="concerttours_before_ear"/>
<macrodef name="concerttours_after_ear"/>
before/after ant macro "production" - for hybris server only
<macrodef name="concerttours_before_production" />
<macrodef name="concerttours_after_production" />
JUnit Test
before/after ant macro "yunitinit"
<macrodef name="concerttours_before_yunitinit" />
<macrodef name="concerttours_after_yunitinit" />
before/after ant macro "yunit"
<macrodef name="concerttours_before_yunit" />
<macrodef name="concerttours_after_yunit" />
Distribution package
before/after ant macro "dist" - internal target; only for use when platform is available in source code
<macrodef name="concerttours_after_dist"/>
<macrodef name="concerttours_before_dist"/>
before/after ant macro "dist_copy" - internal target; only for use when platform is available in source code
<macrodef name="concerttours_before_dist_copy"/>
<macrodef name="concerttours_after_dist_copy"/>
With these filters you can override the default extension filters defined in platform/resources/ant/dist/filtersets.xml
<patternset id="extension.concerttours.binary.filter">
<patternset refid="extension.filter" />
<exclude name="**/*-source.jar" />
</patternset>
<patternset id="extension.concerttours.source.filter">
<exclude name="**/bin/**" />
</patternset>
With this filter you can decide what should be excluded from development zip.
<patternset id="extension.concerttours.devzip.filter">
Include all files from extension.source.filter.
<patternset refid="extension.source.filter" />
Exclude unwanted files.
<exclude name="lib/exclude-me.jar" />
</patternset>
--><project name="concerttours_buildcallbacks">
<!--
Called whenever 'ant ear' is used. this callback can be used to modify the content of the ear file
${ear.path}: path to ear
-->
<macrodef name="concerttours_before_ear">
<sequential>
<!-- you can do anything before the EAR file is being packed -->
</sequential>
</macrodef>
</project>