forked from JessedeDoes/ImpactIR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
50 lines (38 loc) · 1.35 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
<?xml version="1.0"?>
<project name="JointMultiGramModel" default="dist" basedir=".">
<property name="src" value="./src"/>
<property name="build" value="build"/>
<property name="dist" value="dist"/>
<property name="neodir" value="lib/neo"/>
<property name="libdir" value="lib"/>
<path id="java.class.path">
<fileset dir="${neodir}">
<include name="*.jar"/>
</fileset>
<pathelement path="lib/jgrapht-jdk1.6.jar"/>
<pathelement path="lib/weka.jar"/>
<pathelement path="lib/commons-cli-1.2.jar"/>
<pathelement path="lib/mysql-connector-java-3.0.17-ga-bin.jar"/>
<pathelement path="lib/commons-logging-1.1.1.jar"/>
</path>
<target name="init">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<javac encoding="utf-8" srcdir="${src}" destdir="${build}">
<classpath refid="java.class.path"/>
</javac>
</target>
<target name="jar">
<jar destfile="${dist}/spellingvariation.jar">
<fileset dir= "${build}"/>
<fileset dir="resources"/>
</jar>
</target>
<target name="dist" depends="compile">
<jar destfile="${dist}/spellingvariation.jar">
<fileset dir= "${build}"/>
<fileset dir="resources"/>
</jar>
</target>
</project>