-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
97 lines (76 loc) · 3.42 KB
/
build.xml
File metadata and controls
97 lines (76 loc) · 3.42 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<project name="WSF" basedir=".">
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Installation oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="WSF-Installation" depends="WSF/Common-Installation,
WSF/Plugin-Installation,
WSF/MockPlugin-Installation,
WSF/Service-Installation,
WSF/Client-Installation">
<ant target="defaultProjectInstall">
<property name="project" value="WSF" />
</ant>
</target>
<!-- ooooooooooooooooooooooo Install Components ooooooooooooooooooooooo -->
<target name="WSF/Common-Installation">
<ant target="defaultComponentInstall">
<property name="project" value="WSF" />
<property name="component" value="Common" />
</ant>
</target>
<target name="WSF/Plugin-Installation" depends="WSF/Common-Installation">
<ant target="defaultComponentInstall">
<property name="project" value="WSF" />
<property name="component" value="Plugin" />
</ant>
</target>
<target name="WSF/MockPlugin-Installation" depends="WSF/Plugin-Installation">
<ant target="defaultComponentInstall">
<property name="project" value="WSF" />
<property name="component" value="MockPlugin" />
</ant>
</target>
<target name="WSF/Service-Installation" depends="WSF/MockPlugin-Installation">
<ant target="defaultComponentInstall">
<property name="project" value="WSF" />
<property name="component" value="Service" />
</ant>
</target>
<target name="WSF/Client-Installation" depends="WSF/Service-Installation">
<ant target="defaultComponentInstall">
<property name="project" value="WSF" />
<property name="component" value="Client" />
</ant>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooo Web Installation oooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="WSF-WebInstallation" depends="WSF-Installation,
WSF/Service-WebInstallation">
<available file="${webappTargetDir}/WEB-INF/lib" type="dir"
property="lib.exist" />
<!-- create necessary directory structure -->
<mkdir dir="${webappTargetDir}/WEB-INF/" />
<antcall target="createLibLink" />
<antcall target="createConfigLink" />
</target>
<target name="WSF/Service-WebInstallation" depends="WSF/Service-Installation">
<ant target="defaultWebComponentInstall">
<property name="project" value="WSF" />
<property name="component" value="Service" />
</ant>
</target>
<!-- oooooooooooooooooooooooo Web Installation oooooooooooooooooooooooo -->
<target name="createLibLink" unless="lib.exist">
<ant target="symlink">
<property name="link" value="${webappTargetDir}/WEB-INF/lib"/>
<property name="resource" value="${targetDir}/lib/java"/>
</ant>
</target>
<target name="createConfigLink" unless="wsf-config.exist">
<ant target="symlink">
<property name="link" value="${webappTargetDir}/WEB-INF/wsf-config"/>
<property name="resource" value="${targetDir}/config"/>
</ant>
</target>
</project>