forked from coroleu/jug
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwalkmod.xml
79 lines (70 loc) · 2.33 KB
/
walkmod.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
<!DOCTYPE walkmod PUBLIC "-//WALKMOD//DTD" "http://www.walkmod.com/dtd/walkmod-1.1.dtd" >
<walkmod>
<chain name="jpa-hibernate">
<reader path="src/main/java">
<include wildcard="org/walkmod/jug/model/*"></include>
</reader>
<transformation type="walkmod:commons:template"
isMergeable="true">
<param name="templates">["src/main/walkmod/templates/jpa-id.groovy"]</param>
</transformation>
<transformation type="walkmod:commons:template"
isMergeable="true">
<param name="templates">[
"src/main/walkmod/templates/jpa-entities.groovy"]</param>
</transformation>
<transformation type="walkmod:commons:scripting">
<param name="language">
groovy
</param>
<param name="location">
src/main/walkmod/scripts/fields.groovy
</param>
</transformation>
<transformation type="setter-getter:setter-getter-gen"
isMergeable="true">
</transformation>
<transformation type="walkmod:commons:template"
isMergeable="true">
<param name="templates">["src/main/walkmod/templates/hibernate-session.groovy"]</param>
</transformation>
<writer path="src/main/java" />
</chain>
<chain name="services">
<reader path="src/main/java">
<include wildcard="org/walkmod/jug/model/*"></include>
</reader>
<transformation type="walkmod:commons:template"
isMergeable="true">
<param name="templates">["src/main/walkmod/templates/service.groovy"]</param>
</transformation>
</chain>
<chain name="rest">
<reader path="src/main/java">
<include wildcard="org/walkmod/jug/model/*"></include>
</reader>
<transformation type="walkmod:commons:template"
isMergeable="true">
<param name="templates">["src/main/walkmod/templates/rest.groovy"]</param>
</transformation>
<writer path="src/main/java" />
</chain>
<chain name="singletons">
<reader path="src/main/java">
<include wildcard="org/walkmod/jug/service/*"></include>
<include wildcard="org/walkmod/jug/hibernate/*"></include>
</reader>
<transformation type="walkmod:commons:template"
isMergeable="true">
<param name="templates">
[ "src/main/walkmod/templates/singleton.groovy"]
</param>
</transformation>
</chain>
<chain name="common">
<transformation type="imports-cleaner" />
<transformation type="license-applier">
<param name="licenseFile">src/main/license-header.txt</param>
</transformation>
</chain>
</walkmod>