-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
54 lines (47 loc) · 1.43 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
<project name="hebmorph-exist" default="dist" basedir=".">
<description>
Build file for hebmorph-exist
</description>
<!-- set global properties for this build -->
<property name="lib.dir" location="lib"/>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<!-- set local properties for the build -->
<property file="local.build.properties"/>
<!-- set global default properties for the build -->
<property file="build.properties"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- make build dirs -->
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
</target>
<target name="dist" depends="init,xar"
description="build everything"/>
<target name="xar"
depends="init"
description="generate the xar distribution" >
<copy todir="${build}">
<fileset dir="${src}">
<include name="**/*.jar"/>
<include name="**/*LICENSE*"/>
<include name="**/*.xml"/>
<exclude name="**/*.xar" />
<exclude name="build.xml"/>
</fileset>
</copy>
<zip
destfile="${dist}/hebmorph-exist.xar"
update="true"
basedir="${build}">
</zip>
</target>
<target name="clean"
description="clean up">
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>