-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
40 lines (25 loc) · 980 Bytes
/
build.xml
File metadata and controls
40 lines (25 loc) · 980 Bytes
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
<project name="Climate.gov DI Pilot Project" default="make-war" basedir=".">
<description>
Climate.gov Data Interoperability Project
</description>
<property name="app.name" value="cpodi"/>
<property name="warfile" value="cpodi.war" />
<!-- environment variables -->
<property environment="env"/>
<!-- ******* init (create build dir) ******************** -->
<!-- ******* make-war (builds warfile) *********** -->
<target name="make-war" description="make ${warfile} file">
<delete dir="war"/>
<mkdir dir="war"/>
<copy todir="war">
<fileset dir="WebContent">
</fileset>
</copy>
<jar jarfile="${warfile}" basedir="war"/>
</target>
<!-- **************************** CLEAN (cleans out transient build files) ************************ -->
<target name="clean" description="cleans out transient build files">
<delete file="${warfile}" />
<delete dir="war" />
</target>
</project>