comparison mupdf-source/platform/java/winmake.bat @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 @echo off
2 @echo Cleaning
3 echo bogus > example\bogus.class
4 del /Q example\*.class
5 echo bogus > src\com\artifex\mupdf\fitz\bogus.class
6 del /Q src\com\artifex\mupdf\fitz\*.class
7
8 @echo Building Viewer
9 javac -classpath src -sourcepath src -source 1.7 -target 1.7 example/Viewer.java example/ViewerCore.java example/PageCanvas.java example/Worker.java
10
11 @echo Building JNI classes
12 javac -sourcepath src -source 1.7 -target 1.7 src/com/artifex/mupdf/fitz/*.java
13
14 @echo Importing DLL (%1) (built using VS solution)
15 @copy ..\win32\%1\javaviewerlib.dll mupdf_java.dll /y
16
17 @echo Packaging into jar (incomplete as missing manifest)
18 jar cf mupdf-java-viewer.jar mupdf_java.dll src\com\artifex\mupdf\fitz\*.class example\*.class