forked from VEuPathDB/GusSchema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
76 lines (58 loc) · 3.05 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
<project name="GusSchema" default="Installation" basedir=".">
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Dependencies oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="GUS/DBAdmin-Installation">
<ant antfile="../GUS/build.xml" target="GUS/DBAdmin-Installation">
<property name="project" value="GUS"/>
<property name="Component" value="DBAdmin"/>
<property name="version" value="3.6"/>
</ant>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Checkout oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="GusSchema-ChildCheckout" />
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Update oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="GusSchema-ChildUpdate" />
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo Installation oooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="GusSchema-Installation" depends="GusSchema/Definition-Installation,
InstallSchema">
<ant target="defaultProjectInstall"/>
</target>
<!-- ooooooooooooooooooooooo Install Components ooooooooooooooooooooooo -->
<target name="GusSchema/Definition-Installation" depends="ProjectTree">
<ant target="defaultComponentInstall">
<property name="project" value="GusSchema"/>
<property name="component" value="Definition"/>
</ant>
</target>
<target name="InstallSchema" depends="ProjectTree,GUS/DBAdmin-Installation"
if="installDBSchema">
<taskdef name="InstallSchema" classname="org.gusdb.dbadmin.util.InstallSchemaTask">
<classpath>
<pathelement path="${projectsDir}/GUS/DBAdmin/classes"/>
<pathelement path="${projectsDir}/install"/>
<fileset dir="${targetDir}/lib/java/">
<include name="*.jar"/>
</fileset>
<fileset dir="${targetDir}/lib/java/db_driver">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
<InstallSchema gusHome="${targetDir}"
skipRoles="${skipRoles}"
schema="${projectsDir}/GusSchema/Definition/config/gus_schema.xml"/>
</target>
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooo ProjectTree ooooooooooooooooooooooooooo -->
<!-- oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -->
<target name="ProjectTree" if="${checkout}">
<ant target="projectCheckOut"/>
</target>
</project>