#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
fix(aot): use Spring Boot exploded layer format for aot cache (#5811)
Balázs Szücsc15ff1e83233
diff --git a/scripts/init-without-ocr.sh b/scripts/init-without-ocr.shindex 079688634e..e2215fffd2 100755--- a/scripts/init-without-ocr.sh+++ b/scripts/init-without-ocr.sh@@ -803,6 +803,11 @@ if [ "$AOT_GENERATE_BACKGROUND" = true ]; thengenerate_aot_cache "$AOT_CACHE" -cp "/app/app.jar:/app/lib/*" stirling.software.SPDF.SPDFApplicationelif [ -f /app.jar ]; thengenerate_aot_cache "$AOT_CACHE" -jar /app.jar+ elif [ -d /app/BOOT-INF ]; then+ # Spring Boot exploded layer layout (produced by 'java -Djarmode=tools extract --layers').+ # The actual JAVA_CMD uses JarLauncher with default classpath = CWD (/app).+ # Mirror that exactly: -cp /app resolves the same classes.+ generate_aot_cache "$AOT_CACHE" -cp /app org.springframework.boot.loader.launch.JarLauncherelselog "AOT: Cannot determine JAR layout; skipping cache generation."fi