forked from yeastrc/proxl-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ant__build_all_proxl.xml
executable file
·86 lines (57 loc) · 2.56 KB
/
ant__build_all_proxl.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
<?xml version="1.0" encoding="US-ASCII" ?>
<project name="Proxl_Root_Build_All_Proxl" default="createInstallables" basedir=".">
<!--
Ant build to build everything for Proxl.
Run the default target to build everything.
If ant is installed and on the PATH,
enter on the command line "ant -f ant__build_all_proxl.xml"
in the base directory to build everything.
-->
<!-- init depends on nothing -->
<target name="init">
<tstamp />
<!-- name of jar or whatever that is copied to deploy -->
<!-- Properties -->
</target>
<!-- Not in any 'target' -->
<tstamp prefix="build-info">
<format property="current-date" pattern="d-MMMM-yyyy" locale="en" />
<format property="current-time" pattern="hh:mm:ss a z" locale="en" />
<format property="year-month-day" pattern="yyyy-MM-dd" locale="en" />
</tstamp>
<!-- Clean depends on init -->
<target name="clean" depends="init">
<delete dir="deploy" />
<delete dir="generated_jars" />
<delete dir="create_installables_work_dir" />
<ant dir="proxl_importer" antfile="ant__create_runnable_jar_main_importer.xml" target="clean" />
<ant dir="proxl_importer" antfile="ant__create_runnable_jar_run_importer.xml" target="clean" />
<ant dir="proxl_submit_import" antfile="ant__create_runnable_jar_submit_import.xml" target="clean" />
<ant dir="proxl_web_app" antfile="ant_build_webapp_war.xml" target="clean" />
</target>
<!-- Prepare depends on clean -->
<target name="prepare" depends="clean">
<mkdir dir="deploy" />
<mkdir dir="create_installables_work_dir" />
</target>
<!--
compileAllSubmodules depends on prepare
executes external builds for each sub project
-->
<target name="compileAllSubmodules" depends="prepare">
<ant dir="proxl_importer" antfile="ant__create_runnable_jar_main_importer.xml" />
<ant dir="proxl_importer" antfile="ant__create_runnable_jar_run_importer.xml" />
<ant dir="proxl_submit_import" antfile="ant__create_runnable_jar_submit_import.xml" />
<ant dir="proxl_web_app" antfile="ant_build_webapp_war.xml" />
</target>
<!--
createInstallables depends on compileAllSubmodules
-->
<target name="createInstallables" depends="compileAllSubmodules">
<!-- copy files from subdir 'deploy' to deploy -->
<copy file="proxl_web_app/deploy/proxl.war" todir="deploy" />
<copy file="proxl_importer/deploy/importProxlXML.jar" todir="deploy" />
<copy file="proxl_importer/deploy_run_importer/runImportProxlXML.jar" todir="deploy" />
<copy file="proxl_submit_import/deploy/submitProxlXMLImport.jar" todir="deploy" />
</target>
</project>