VoyagerXHF's picture
Upload folder using huggingface_hub (part 107)
598838a verified
Raw History Blame Contribute Delete
1.14 kB
{
"success": true,
"executable": "..\\install\\CuckooChess\\CuckooChess.exe",
"build_system": "maven",
"installed_deps": [
"temurin21",
"maven"
],
"notes": "Cuckoo Chess - a multi-module Java 21 Maven project (Java Swing GUI). Repo shipped Java 17 only and no Maven, so build.ps1 installs Temurin JDK 21 and Maven machine-wide via Chocolatey. 'mvn clean package' (global repo C:\\m2_repo via -Dmaven.repo.local) builds all 6 modules and produces the GUI fat jar cuckoo-gui/target/cuckoo-gui-1.12.1-SNAPSHOT-jar-with-dependencies.jar (mainClass org.petero.cuckoo.gui.AppletGUI). jpackage (bundled with JDK 21) then wraps that jar into a self-contained native Windows app-image with its own runtime at install\\CuckooChess\\CuckooChess.exe, so the app needs no external JDK at runtime. Verified from clean state: deleted install, reran build.ps1, launched via launch.ps1 (PID captured, process alive >10s, then killed). Note: launch.ps1 intentionally emits a trailing blank line so the caller's `$out = & powershell ... launch.ps1` captures an array and `[int]$out[0]` reads the whole PID rather than the first character."
}