forked from Borisvl/JBIG2-Image-Decoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
25 lines (21 loc) · 764 Bytes
/
build.xml
File metadata and controls
25 lines (21 loc) · 764 Bytes
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
<project name="JBIG2-Image-Decoder" basedir="." default="package">
<property name="build" value="build"/>
<property name="target" value="target"/>
<property file="build.properties"/>
<target name="clean">
<delete dir="${build}"/>
<delete dir="${target}"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build}"/>
<mkdir dir="${target}"/>
</target>
<target name="build" depends="init">
<!-- Compile the java code -->
<javac srcdir="src" destdir="${build}" source="1.8" target="1.8"/>
</target>
<target name="package" depends="build">
<!-- Build the jar file -->
<jar basedir="${build}" destfile="${target}/jbig2.jar"/>
</target>
</project>