Created
August 16, 2022 16:06
-
-
Save lite1979/74b6db4f64063422e18c503eac946b08 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lite@bjorn:~/tray$ ant nsis | |
Buildfile: /home/lite/tray/build.xml | |
get-host-arch: | |
get-target-arch: | |
target-os-windows: | |
init: | |
[echo] Building qz-tray using JDK 11 | |
quick-clean: | |
get-host-os: | |
get-target-os: | |
get-libext: | |
platform-detect: | |
echo-platform: | |
[echo] | |
[echo] Host platform: | |
[echo] host.os: "linux" | |
[echo] host.arch: "x86_64" | |
[echo] host.libext: "so" | |
[echo] host.os.linux: true | |
[echo] host.arch.x86_64: true | |
[echo] | |
echo-platform: | |
[echo] | |
[echo] Target platform: | |
[echo] target.os: "windows" | |
[echo] target.arch: "x86_64" | |
[echo] target.libext: "dll" | |
[echo] target.os.windows: true | |
[echo] target.arch.x86_64: true | |
[echo] | |
get-javafx-versions: | |
[echo] | |
[echo] JavaFX host platform: | |
[echo] Version: 15.ea+3_monocle (linux, x86_64) | |
[echo] Major Version: 15 | |
[echo] URLs: "15-ea+3_monocle" | |
[echo] | |
[echo] JavaFX target platform: | |
[echo] Version: 15.ea+3_monocle (windows, x86_64) | |
[echo] Major Version: 15 | |
[echo] URLs: ""15-ea+3_monocle" | |
[echo] | |
host-fx-exists: | |
[echo] JavaFX host platform file libglass.so found, skipping download. | |
[echo] Location: /home/lite/tray/lib/javafx-linux-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/libglass.so | |
download-javafx-host: | |
target-fx-exists: | |
[mkdir] Created dir: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle | |
[echo] JavaFX target platform file glass.dll is missing, will download. | |
[echo] Searched: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle | |
download-javafx-target: | |
download-extract-javafx: | |
[mkdir] Created dir: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle | |
[echo] Downloading JavaFX from https://download2.gluonhq.com/openjfx/15/openjfx-15-ea+3_monocle-windows-x64_bin-sdk.zip | |
[echo] Temporarily saving JavaFX to /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle.zip | |
[get] Getting: https://download2.gluonhq.com/openjfx/15/openjfx-15-ea+3_monocle-windows-x64_bin-sdk.zip | |
[get] To: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle.zip | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] .................................................... | |
[get] ................... | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle.zip into /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle | |
[delete] Deleting: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle.zip | |
download-javafx: | |
compile-socket: | |
[mkdir] Created dir: /home/lite/tray/out/build/qz-tray | |
[javac] Compiling 172 source files to /home/lite/tray/out/build/qz-tray | |
[javac] Note: Some input files use or override a deprecated API. | |
[javac] Note: Recompile with -Xlint:deprecation for details. | |
[javac] Note: Some input files use unchecked or unsafe operations. | |
[javac] Note: Recompile with -Xlint:unchecked for details. | |
[copy] Copying 50 files to /home/lite/tray/out/build/qz-tray | |
[copy] Copying 1 file to /home/lite/tray/out/dist | |
copy-libs: | |
[mkdir] Created dir: /home/lite/tray/out/dist/libs | |
[copy] Copying 56 files to /home/lite/tray/out/dist/libs | |
[mkdir] Created dir: /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/charsets/TCVN-3.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/charsets/icu4j-charset-slim.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/charsets/icu4j-slim.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/commons-codec-1.15.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/commons-io-2.11.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/commons-lang3-3.12.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/commons-pool2-2.11.1.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/hid4java-0.7.1-SNAPSHOT.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/jna-5.12.1.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/jna-platform-5.8.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/jssc-2.9.4.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-linux-arm.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-linux-x86.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-linux-x86_64.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-osx-x86.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-osx-x86_64.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-windows-x86.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/libusb4java-1.2.0-windows-x86_64.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/purejavahidapi-0.0.10-SNAPSHOT.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/usb-api-1.0.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/usb4java-1.2.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/communication/usb4java-javax-1.2.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/darcula-bobbylight.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/imaging/common-image-3.8.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/imaging/common-io-3.8.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/imaging/common-lang-3.8.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/imaging/imageio-core-3.8.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/imaging/imageio-jpeg-3.8.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/imaging/imageio-metadata-3.8.2.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/java-semver-0.10.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/logging/log4j-api-2.18.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/logging/log4j-core-2.18.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/mslinks-1.1.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/printing/pdfbox-app-2.0.26.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/javax.websocket-api-1.0.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jettison-1.3.3-SNAPSHOT.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-client-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-http-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-io-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-security-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-server-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-servlet-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/jetty-util-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/not-going-to-be-commons-ssl-0.3.20.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/servlet-api-3.1.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/websocket-api-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/websocket-client-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/websocket-common-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/websocket-server-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/lib/websocket/websocket-servlet-9.4.48.v20220622.jar into /home/lite/tray/out/libs-temp | |
[echo] Copying /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx-swt.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.base.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.controls.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.fxml.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.graphics.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.media.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.swing.jar into /home/lite/tray/out/libs-temp | |
[unzip] Expanding: /home/lite/tray/out/javafx-windows-x86_64-15-ea+3_monocle/javafx-sdk-15/lib/javafx.web.jar into /home/lite/tray/out/libs-temp | |
copy-dylibs: | |
copy-dlls: | |
[echo] Copying native library files to libs | |
[copy] Copying 5 files to /home/lite/tray/out/dist/libs | |
[copy] Copying /home/lite/tray/out/libs-temp/com/sun/jna/win32-x86-64/jnidispatch.dll to /home/lite/tray/out/dist/libs/jnidispatch.dll | |
[copy] Copying /home/lite/tray/out/libs-temp/natives/windows_64/jssc.dll to /home/lite/tray/out/dist/libs/jssc.dll | |
[copy] Copying /home/lite/tray/out/libs-temp/org/usb4java/windows-x86_64/libusb-1.0.dll to /home/lite/tray/out/dist/libs/libusb-1.0.dll | |
[copy] Copying /home/lite/tray/out/libs-temp/org/usb4java/windows-x86_64/libusb4java.dll to /home/lite/tray/out/dist/libs/libusb4java.dll | |
[copy] Copying /home/lite/tray/out/libs-temp/win32-x86-64/hidapi.dll to /home/lite/tray/out/dist/libs/hidapi.dll | |
copy-solibs: | |
externalize-libs: | |
build-jar: | |
[echo] Building jar | |
[echo] Stripping jlink-incompatible files | |
[jar] Building jar: /home/lite/tray/out/dist/qz-tray.jar | |
override-authcert: | |
include-assets: | |
[echo] Copying resource files to output | |
[copy] Copying 46 files to /home/lite/tray/out/dist/demo | |
whitelist-certs: | |
distribute: | |
[echo] Process complete | |
download-jre: | |
[echo] Downloading and bundling the jre for windows | |
[java] [INFO] 2022-08-16T12:04:40,814 @ qz.build.JLink:-1 | |
[java] Using JAVA_HOME: /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 | |
[java] [INFO] 2022-08-16T12:04:40,818 @ qz.build.JLink:-1 | |
[java] Assuming jdeps path: /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jdeps | |
[java] [INFO] 2022-08-16T12:04:40,819 @ qz.build.JLink:-1 | |
[java] Assuming jlink path: /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jlink | |
[java] [DEBUG] 2022-08-16T12:04:40,821 @ qz.utils.ShellUtilities:-1 | |
[java] Executing: [/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jdeps, --version] | |
[java] [INFO] 2022-08-16T12:04:41,061 @ qz.build.VendorArch:-1 | |
[java] Arch provided: x86_64 matches: x86_64 | |
[java] [INFO] 2022-08-16T12:04:41,063 @ qz.build.JLink:-1 | |
[java] No garbage collector specified, assuming 'hotspot' | |
[java] [INFO] 2022-08-16T12:04:41,076 @ qz.build.Fetcher:-1 | |
[java] Fetching 'jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8' from [https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16+8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.16_8.zip] and saving to [/tmp/jdk-adoptopenjdk-x64-windows-11.0.16_8491863271413095821.zip] | |
[java] [INFO] 2022-08-16T12:04:46,620 @ qz.build.Fetcher:-1 | |
[java] Unzipping 'jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8' from [/tmp/jdk-adoptopenjdk-x64-windows-11.0.16_8491863271413095821.zip] to [/home/lite/tray/out/jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8~tmp] | |
[java] [INFO] 2022-08-16T12:04:50,075 @ qz.build.Fetcher:-1 | |
[java] Moving [/home/lite/tray/out/jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8~tmp] to [/home/lite/tray/out/jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8] | |
[java] [INFO] 2022-08-16T12:04:50,076 @ qz.build.JLink:-1 | |
[java] Selecting JDK home: /home/lite/tray/out/jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8/jdk-11.0.16+8 | |
[java] [INFO] 2022-08-16T12:04:50,077 @ qz.build.JLink:-1 | |
[java] Selecting jmods folder: /home/lite/tray/out/jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8/jdk-11.0.16+8/jmods | |
[java] [INFO] 2022-08-16T12:04:50,077 @ qz.build.JLink:-1 | |
[java] Assuming jar path: /home/lite/tray/out/dist/qz-tray.jar | |
[java] [INFO] 2022-08-16T12:04:50,077 @ qz.build.JLink:-1 | |
[java] Assuming output path: /home/lite/tray/out/dist/runtime | |
[java] [INFO] 2022-08-16T12:04:50,078 @ qz.build.JLink:-1 | |
[java] Calling jdeps to determine runtime dependencies | |
[java] [DEBUG] 2022-08-16T12:04:50,079 @ qz.utils.ShellUtilities:-1 | |
[java] Executing: [/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jdeps, --multi-release, 9, --list-deps, --ignore-missing-deps, /home/lite/tray/out/dist/qz-tray.jar] | |
[java] [TRACE] 2022-08-16T12:05:05,034 @ qz.build.JLink:-1 | |
[java] Removing dependency: 'jdk8internals/sun.reflect' | |
[java] [DEBUG] 2022-08-16T12:05:05,036 @ qz.utils.ShellUtilities:-1 | |
[java] Executing: [/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/jlink, --strip-debug, --compress=2, --no-header-files, --no-man-pages, --exclude-files=glob:**/legal/**, --module-path, /home/lite/tray/out/jlink/jdk-adoptopenjdk-x64-windows-11.0.16_8/jdk-11.0.16+8/jmods, --add-modules, java.base,java.compiler,java.datatransfer,java.desktop,java.logging,java.management,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.security.jgss,java.sql,java.xml,jdk.jfr,jdk.jsobject,jdk.unsupported,jdk.unsupported.desktop,jdk.xml.dom,jdk.zipfs,jdk.crypto.ec, --output, /home/lite/tray/out/dist/runtime] | |
[java] [ERROR] 2022-08-16T12:05:05,595 @ qz.utils.ArgParser:-1 | |
[java] Build step JLINK failed | |
[java] java.io.IOException: An error occurred deploying the jre. Please check the logs for details. | |
[java] at qz.build.JLink.deployJre(Unknown Source) ~[qz-tray.jar:?] | |
[java] at qz.build.JLink.<init>(Unknown Source) ~[qz-tray.jar:?] | |
[java] at qz.utils.ArgParser.processBuildArgs(Unknown Source) ~[qz-tray.jar:?] | |
[java] at qz.utils.ArgParser.intercept(Unknown Source) ~[qz-tray.jar:?] | |
[java] at qz.App.main(Unknown Source) ~[qz-tray.jar:?] | |
BUILD FAILED | |
/home/lite/tray/build.xml:231: Java returned: 1 | |
Total time: 47 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment