From 7604890611a1818021084e35271059ad368636eb Mon Sep 17 00:00:00 2001 From: david Date: Fri, 12 Aug 2022 18:30:07 +0200 Subject: [PATCH] Feature: Manual and auto classpath option - Adjusting links in documentation --- Dockerfile | 2 +- INSTALL.md | 2 +- README.md | 9 +++++---- install | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3927659..6c6eb34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \ zip \ && rm -rf /var/lib/apt/lists/* RUN curl -fsSL -o /tmp/warp-packer \ - https://github.com/dgiagio/warp/releases/download/v0.3.0/linux-x64.warp-packer \ + https://git.kirby-link.dd-dns.de/attachments/f701fbff-c58b-4aac-91e3-47efda1fc760 \ && install -D \ --mode=755 \ --owner=root \ diff --git a/INSTALL.md b/INSTALL.md index 4296992..5dfd2a9 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -8,7 +8,7 @@ First install [warp-packer](https://github.com/dgiagio/warp/releases) and ensure ``` $ LOCATION=/usr/local/bin \ -LINK=https://raw.githubusercontent.com/guziks/warp4j/stable/warp4j \ +LINK=https://git.kirby-link.dd-dns.de/public/warp4j/raw/branch/master/warp4j \ TEMP_LOCATION=/tmp/warp4j \ bash -c 'curl -fsSL -o $TEMP_LOCATION $LINK && \ sudo install -D \ diff --git a/README.md b/README.md index 22a191a..3bdbd20 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Turn JAR (java archive) into self-contained executable in a single command. - downloads java runtimes automatically - makes runtimes optimized for your application -- creates self-contained binaries for Linux, macOS and Windows using [warp-packer](https://github.com/dgiagio/warp) +- creates self-contained binaries for Linux, macOS and Windows using [warp-packer](https://git.kirby-link.dd-dns.de/public/warp) - works on Linux, macOS and Windows (with Windows Subsystem for Linux) - supports cross "compilation" - does not require neither JDK nor JRE installed @@ -20,7 +20,7 @@ Just put both `warp4j` and `warp-packer` somewhere in your PATH and run `warp4j Curl one-liner installs latest versions of both `warp4j` and `warp-packer`: ``` -$ bash -c "$(curl -fsSL https://git.kirby-link.dd-dns.de/public/warp4j/raw/branch/feature/manual_and_auto_classpath_option/install)" +$ bash -c "$(curl -fsSL https://git.kirby-link.dd-dns.de/public/warp4j/raw/branch/master/install)" ``` This script will show missing dependencies (if there are any), they must be installed with your package manager. @@ -67,6 +67,8 @@ Options: (default: 17) -cp, --class-path adds additional classpaths to the jdeps call + --auto-class-path extract and get class-path values from jar file + ignored when -cp, --class-path is set -o, --output override output directory; this is relative to current PWD @@ -83,8 +85,6 @@ Options: --pull check if more recent JDK/JRE distro is available; by default latest cached version that matches "--java-version" is used - --spring-boot extract from (Spring-Boot) jar the dependencies' - to get the classpath for jdeps call' --linux create binary for Linux --macos create binary for macOS --windows create binary for Windows @@ -97,6 +97,7 @@ Options: "java -jar "; use quotes when passing multiple options example: '-Xms512m -Xmx1024m' + -s, --silent using javaw instead of java for windows -h, --help show this message ``` diff --git a/install b/install index 5979401..a107c08 100755 --- a/install +++ b/install @@ -87,7 +87,7 @@ function get_missing_deps() { done } -WARP4J_LINK="https://git.kirby-link.dd-dns.de/public/warp4j/raw/branch/feature/manual_and_auto_classpath_option/warp4j" +WARP4J_LINK="https://git.kirby-link.dd-dns.de/public/warp4j/raw/branch/master/warp4j" echo "Getting information about warp-packer releases..." WARP_LINK=$(get_warp_link $THIS_PLATFORM)