-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.xml
70 lines (60 loc) · 2.71 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
<project name="ApiCommonData" basedir=".">
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Dependencies oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<import file="${projectsDir}/FgpUtil/build.xml" />
<import file="${projectsDir}/GUS/build.xml" />
<import file="${projectsDir}/TuningManager/build.xml" />
<import file="${projectsDir}/DoTS/build.xml" />
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Installation oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ApiCommonData-Installation" depends="FgpUtil-Installation,
TuningManager-Installation,
GUS-Installation,
DoTS-Installation,
ApiCommonData/Load-Installation">
<ant target="defaultProjectInstall">
<property name="project" value="ApiCommonData" />
</ant>
</target>
<!-- ooooooooooooooooooooooo Install Components ooooooooooooooooooooooo -->
<target name="ApiCommonData/Load-Installation">
<ant target="defaultComponentInstall">
<property name="project" value="ApiCommonData" />
<property name="component" value="Load" />
</ant>
</target>
<target name="ApiCommonData/Datasources-Installation">
<property name="loadresources" value="${targetDir}/lib/xml/loadresources" />
<property name="cache" value="${targetDir}/config/.cache/datasources" />
<property name="datasources" value="${targetDir}/lib/xml/datasources" />
<mkdir dir="${cache}" />
<mkdir dir="${datasources}" />
<copy todir="${loadresources}">
<fileset dir="${projectsDir}/ApiCommonData/Load/lib/xml">
<include name="*Resources.xml" />
</fileset>
</copy>
<echo message="Running updateResourcesWithPubmed" />
<apply executable="${targetDir}/bin/updateResourcesWithPubmed"
dest="${cache}"
verbose="true">
<srcfile />
<targetfile />
<fileset dir="${loadresources}">
<include name="*Resources.xml" />
</fileset>
<mapper type="glob" from="*.xml" to="*-pubmed.xml" />
</apply>
<copy todir="${datasources}">
<fileset dir="${cache}">
<include name="*-pubmed.xml" />
</fileset>
</copy>
<delete dir="${loadresources}" />
<ant target="buildInfo">
<property name="component" value="updateResourcesWithPubmed" />
</ant>
</target>
</project>