-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
44 lines (37 loc) · 1.52 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project LexChain">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<!-- Properties -->
<property name="src.dir" value="src" />
<property name="build.dir" value="build" />
<path id="pathid">
<pathelement location="lib/jwnl.jar" />
<pathelement location="lib/commons-logging.jar" />
<pathelement location="lib/stanford-postagger.jar" />
<pathelement location="${build.dir}" />
</path>
<target name="build">
<mkdir dir="${build.dir}" />
<copy todir="${build.dir}">
<fileset dir="${src.dir}/" />
</copy>
<javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="pathid" debug="on"/>
</target>
<target name="install" depends="build">
<jar destfile="lexchain.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="chatsegmenter.Main"/>
<attribute name="Class-Path" value="."/>
</manifest>
<!-- <fileset dir="build"/> -->
<zipfileset excludes="META-INF/*.SF" src="lib/commons-logging.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/jwnl.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/stanford-postagger.jar"/>
</jar>
</target>
<target name="clean">
<delete dir="${build.dir}" />
<delete file="lexchain.jar" />
</target>
</project>