-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.xml
More file actions
26 lines (22 loc) · 1.02 KB
/
build.xml
File metadata and controls
26 lines (22 loc) · 1.02 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project slner with Jar-in-Jar Loader">
<property name="lib.dir" value="lib"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="*.jar"/>
</path>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
</target>
<target name="create_run_jar" depends="compile">
<jar destfile="build/libs/slner-1.1.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="si.ijs.slner.SloveneNER"/>
<attribute name="Class-Path" value="./ mallet-deps.jar mallet.jar"/>
</manifest>
<fileset dir="bin"/>
<zipfileset src="lib/mallet-deps.jar" includes="**/*.class **/*.properties"/>
<zipfileset src="lib/mallet.jar" includes="**/*.class **/*.properties"/>
</jar>
</target>
</project>