summaryrefslogtreecommitdiff
blob: 3eb6a12c5f71d9e0e2bfa41a5002e603763cff42 (plain)
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
--- jmupdf-0.4.1/jmupdf/build.xml
+++ jmupdf-0.4.1/jmupdf/build.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 	<project name="jmupdf" default="jmupdf" basedir=".">
 
-		<property name="source.dir" value="${basedir}/bin"/>		
+		<property name="source.dir" value="${basedir}/src"/>		
 		<property name="target.dir" value="${basedir}"/>
 		<property name="build.dir" value="${basedir}/build"/>
 
@@ -11,9 +11,12 @@
 			
 			<mkdir dir="${build.dir}"/>
 
-	    	<copy todir="${build.dir}"> 
-	    		<fileset dir="${source.dir}" includes="**/*"/>
-	    	</copy>
+			<javac srcdir="${source.dir}"
+				includeantruntime="false"
+				destdir="${build.dir}"
+				debug="on"
+				source="1.5"
+			/>
 
 			<jar destfile="${build.dir}/jmupdf.jar">
 				<manifest>