-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.xml
39 lines (35 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
<?xml version="1.0"?>
<project name="Compression" default="compile" basedir=".">
<path id="compile.classpath">
<fileset dir="./lib">
<include name="cplex.jar"/>
<include name="stanford-parser.jar"/>
<include name="berkeleylm.jar"/>
</fileset>
</path>
<target name="compile" description="Compile source for compression">
<mkdir dir="./bin" />
<javac srcdir="src" destdir="bin" classpathref="compile.classpath" includeantruntime="false">
<include name="research/compression/SentenceCompressor.java"/>
<include name="research/compression/CompressionModel.java"/>
<include name="research/lib/Document.java"/>
<include name="research/lib/DocumentImporter.java"/>
<include name="research/lib/GrammarDependency.java"/>
<include name="research/lib/MyBerkeleyLm.java"/>
<include name="research/lib/ParseTree.java"/>
<include name="research/lib/Sentence.java"/>
<include name="research/lib/SocketClient.java"/>
</javac>
<copy todir="./bin">
<fileset dir="./src" includes="research/lib/rsc/*"/>
<fileset dir="./src" includes="research/lib/englishPCFG.ser.gz"/>
</copy>
</target>
<target name="clean">
<delete verbose="true" quiet="true">
<fileset dir="./bin">
<include name="**/*.class"/>
</fileset>
</delete>
</target>
</project>