-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuild.xml
29 lines (25 loc) · 1.04 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_jar" name="Create runnable jar">
<property name="target" location="deploy"/>
<target name="create_jar">
<jar destfile="${target}/KanjiTomoOCR.jar">
<manifest>
<attribute name="Main-Class" value="net.kanjitomo.util.CLI"/>
<attribute name="Class-Path" value=". lib/imgscalr-lib-4.2/imgscalr-lib-4.2-javadoc.jar lib/imgscalr-lib-4.2/imgscalr-lib-4.2-sources.jar lib/imgscalr-lib-4.2/imgscalr-lib-4.2.jar"/>
</manifest>
<fileset dir="bin"/>
<fileset dir="data/cache"/>
<zipgroupfileset dir="lib" includes="**/*.jar"/>
</jar>
</target>
<target name="create_javadoc">
<javadoc sourcepath="src" destdir="javadoc" encoding="UTF-8"
packagenames="net.kanjitomo" additionalparam="-Xdoclint:none -notimestamp">
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javadoc>
</target>
</project>