diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-06-14 19:49:07 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-06-16 11:53:05 +0100 |
commit | a1857dfdc5d4b7988b19e59092dc5a80794569d4 (patch) | |
tree | d40ac26378f16c9dbed8bbaa6ba69e59af1edbf0 /platform/java/winmake.bat | |
parent | c0cd3add8485819a17588a4fd37087d51d45a52e (diff) | |
download | mupdf-a1857dfdc5d4b7988b19e59092dc5a80794569d4.tar.xz |
platform/java/winmake.bat - Fix due to sources being moved.
The java sources were pushed down into 'src' which broke the
.bat file.
Diffstat (limited to 'platform/java/winmake.bat')
-rw-r--r-- | platform/java/winmake.bat | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/platform/java/winmake.bat b/platform/java/winmake.bat index 94608d9e..43c32cbc 100644 --- a/platform/java/winmake.bat +++ b/platform/java/winmake.bat @@ -1,17 +1,18 @@ +@echo off @echo Cleaning echo bogus > example\bogus.class del /Q example\*.class -echo bogus > com\artifex\mupdf\fitz\bogus.class -del /Q com\artifex\mupdf\fitz\*.class +echo bogus > src\com\artifex\mupdf\fitz\bogus.class +del /Q src\com\artifex\mupdf\fitz\*.class @echo Building Viewer -javac -source 1.7 -target 1.7 example/Viewer.java +javac -classpath src -sourcepath src -source 1.7 -target 1.7 example/Viewer.java @echo Building JNI classes -javac -source 1.7 -target 1.7 com/artifex/mupdf/fitz/*.java +javac -sourcepath src -source 1.7 -target 1.7 src/com/artifex/mupdf/fitz/*.java @echo Importing DLL (built using VS solution) @copy ..\win32\%1\javaviewerlib.dll mupdf_java.dll /y @echo Packaging into jar (incomplete as missing manifest) -jar cf mupdf-java-viewer.jar mupdf_java.dll com\artifex\mupdf\fitz\*.class example\*.class +jar cf mupdf-java-viewer.jar mupdf_java.dll src\com\artifex\mupdf\fitz\*.class example\*.class |