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
32 lines (25 loc) · 721 Bytes
/
build.xml
File metadata and controls
32 lines (25 loc) · 721 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
26
27
28
29
30
31
32
<project name="JBIG2-Image-Decoder" basedir="." default="jar">
<property name="build" value="build"/>
<property file="build.properties"/>
<target name="clean">
<delete dir="${build}"/>
<delete file="jbig2.jar"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code -->
<javac srcdir="src" destdir="${build}">
</javac>
</target>
<target name="copy-resources">
<copy todir="${build}">
<fileset dir="resources" />
</copy>
</target>
<target name="jar" depends="compile, copy-resources">
<!-- Build the jar file -->
<jar basedir="${build}" destfile="jbig2.jar"/>
</target>
</project>