-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
53 lines (44 loc) · 1.34 KB
/
build.xml
File metadata and controls
53 lines (44 loc) · 1.34 KB
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
<?xml version="1.0"?>
<!-- Use the following doctypedecl for DTD aware editing
<!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "project.dtd">
-->
<project name="nlp" default="main" basedir=".">
<property name="src" value="src" />
<property name="build" value="bin" />
<property name="docs" value="docs" />
<property name="debug" value="yes" />
<path id="project-classpath">
<pathelement location="${src}"/>
<pathelement location="${build}"/>
<pathelement location="${dist}"/>
</path>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<javac includeantruntime="no" optimize="yes" debug="${debug}" srcdir="${src}" destdir="${build}">
<classpath refid="project-classpath"/>
</javac>
</target>
<target name="clean">
<delete>
<fileset dir="${build}" includes="**/*.class"/>
</delete>
</target>
<target name="main" depends="compile"/>
<target name="document">
<mkdir dir="${docs}"/>
<delete>
<fileset dir="${src}" defaultexcludes="no">
<include name="**/.#*.java*"/>
<include name="**/*#*.java*#*"/>
</fileset>
</delete>
<javadoc destdir="${docs}" verbose="true">
<sourcepath>
<pathelement location="${src}"/>
</sourcepath>
</javadoc>
</target>
</project>