Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/platform/java/winmake.bat @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 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 |
