forked from VEuPathDB/ApiCommonData
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-new.xml
99 lines (72 loc) · 3.36 KB
/
build-new.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
<project name="ApiCommonData" default="Installation" basedir=".">
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Dependencies oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonModel-Installation">
<ant antfile="../ApiCommonModel/build.xml"
target="ApiCommonModel-Installation">
<property name="project" value="ApiCommonModel" />
<property name="version" value="??" />
</ant>
</target>
<target name="GUS-Installation">
<ant antfile="../GUS/build.xml" target="GUS-Installation">
<property name="project" value="GUS" />
<property name="version" value="2.1.2" />
</ant>
</target>
<target name="DJob-Installation">
<ant antfile="../DJob/build.xml" target="DJob-Installation">
<property name="project" value="DJob" />
<property name="version" value="3.0.1" />
</ant>
</target>
<target name="DoTS-Installation">
<ant antfile="../DoTS/build.xml" target="DoTS-Installation">
<property name="project" value="DoTS" />
<property name="version" value="3.0.1" />
</ant>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Installation oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonData-Installation" depends="GUS-Installation,
ApiCommonModel-Installation,
DJob-Installation,
DoTS-Installation,
ApiCommonData/Load-Installation">
<ant target="defaultProjectInstall" />
</target>
<!-- oooooooooooooooooo Installation Postprocess ooooooooooooooooooooo -->
<target name="ApiCommonData-Installation-postprocess">
<echo message="Postprocessing the ApiCommonData installation" />
<replace dir="${targetDir}/bin"
propertyFile="${targetDir}/config/replacements.prop">
<include name="**/*" />
<replacefilter token="@perl@" property="perl" />
</replace>
</target>
<!-- ooooooooooooooooooooooo Install Components ooooooooooooooooooooooo -->
<target name="ApiCommonData/Load-Installation" depends="ProjectTree">
<ant target="defaultComponentInstall">
<property name="project" value="ApiCommonData" />
<property name="component" value="Load" />
</ant>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Distributable ooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonData-Distributable" depends="ProjectTree">
<copy todir="${targetDir}">
<fileset dir="${projectsDir}">
<exclude name="**/CVS/*" />
</fileset>
</copy>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo ProjectTree ooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ProjectTree" if="${checkout}">
<ant target="projectCheckOut" />
</target>
</project>