-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathbuild.xml
33 lines (28 loc) · 897 Bytes
/
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
30
31
32
33
<project name="PDFrenderer" basedir="." default="jar">
<property name="build" value="build"/>
<property file="build.properties"/>
<target name="clean">
<delete dir="${build}"/>
<delete file="PDFrenderer.jar"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build}"/>
<copy todir="${build}">
<fileset dir="src" excludes="**/*.java"/>
</copy>
</target>
<target name="compile" depends="init">
<!-- Compile the java code -->
<javac srcdir="src" destdir="${build}">
<classpath path="stdclasses/unpublic/jbig2.jar"></classpath>
<classpath path="stdclasses"></classpath>
</javac>
</target>
<target name="jar" depends="compile">
<!-- Build the jar file -->
<jar destfile="PDFrenderer.jar">
<fileset dir="${build}" />
<fileset dir="stdclasses" excludes="unpublic/jbig2.jar" />
</jar>
</target>
</project>