-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.xml
133 lines (95 loc) · 4.95 KB
/
build.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<project name="ApiCommonDatasets" default="Installation" basedir=".">
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Dependencies oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<import file="${projectsDir}/ApiCommonWorkflow/build.xml" optional="true" />
<import file="${projectsDir}/ApiCommonMetadataRepository/build.xml" optional="true" />
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Checkout oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonWorkflow-Checkout" unless="ApiCommonWorkflow.present">
<ant target="defaultProjectCheckout" inheritAll="false">
<property name="svnurl" value="https://cbilsvn.pmacs.upenn.edu/svn/apidb/ApiCommonWorkflow" />
<property name="project" value="ApiCommonWorkflow"/>
<property name="version" value="??"/>
</ant>
</target>
<target name="ApiCommonMetadataRepository-Checkout" unless="ApiCommonMetadataRepository.present">
<ant target="defaultProjectCheckout" inheritAll="false">
<property name="svnurl" value="https://cbilsvn.pmacs.upenn.edu/svn/apidb/ApiCommonMetadataRepository" />
<property name="project" value="ApiCommonMetadataRepository"/>
</ant>
</target>
<target name="ApiCommonDatasets-ChildCheckout">
<available file="../ApiCommonWorkflow" type="dir" property="ApiCommonWorkflow.present" />
<antcall target="ApiCommonWorkflow-Checkout" />
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Update oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonDatasets-ChildUpdate" >
<ant target="defaultProjectUpdate">
<property name="project" value="ApiCommonWorkflow"/>
</ant>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Installation oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonWorkflow-Installation-Proxy">
<antcall target="ApiCommonWorkflow-Installation" />
</target>
<target name="ApiCommonMetadataRepository-Installation-Proxy">
<antcall target="ApiCommonMetadataRepository-Installation" />
</target>
<target name="ApiCommonDatasets-Installation" depends="ApiCommonMetadataRepository-Installation-Proxy,
ApiCommonWorkflow-Installation-Proxy,
ApiCommonDatasets-MavenInstallation,
ApiCommonDatasets/Datasets-Installation">
<ant target="defaultProjectInstall">
<property name="project" value="ApiCommonDatasets"/>
</ant>
</target>
<target name="ApiCommonDatasets-MavenInstallation">
<ant target="mavenBuildProject">
<property name="project" value="ApiCommonDatasets"/>
</ant>
<property name="alreadyBuilt" value="true"/>
</target>
<!-- oooooooooooooooooo Installation Postprocess ooooooooooooooooooooo -->
<target name="ApiCommonDatasets-Installation-postprocess">
<echo message="Postprocessing the ApiCommonDatasets 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="ApiCommonDatasets/Datasets-Installation" depends="ProjectTree">
<ant target="defaultComponentInstall">
<property name="project" value="ApiCommonDatasets"/>
<property name="component" value="Datasets"/>
</ant>
<!-- call a command to resolve out-dated master files -->
<!--
<exec executable="workflowResolveAll">
</exec>
-->
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Distributable ooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonDatasets-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>