Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simple ant build file to create the library (without jbig2.jar)

  • Loading branch information...
commit 6ff0ae12e23439cbfb532c15b85119b875b09e12 1 parent fd6e7c1
@Borisvl Borisvl authored committed
Showing with 33 additions and 0 deletions.
  1. +33 −0 build.xml
View
33 build.xml
@@ -0,0 +1,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>
Please sign in to comment.
Something went wrong with that request. Please try again.