Files
gentoo/dev-java/boot-bin/files/boot
Kent Fredric e0631bd3e5 dev-java/boot-bin: Added at 2.6.0
This is mostly just giving users a better choice than "sudo bash curl..."

boot will still have to install its own dependencies when executed via maven
glue into ~/.m2/, but this still means they can easily get `boot` accessible
globally in "$PATH" without security paranoia, and from then on it
"mostly just works" without needing to understand boot-specific install
procedures.

Ideally this itself will be built from sources one day, but java upstream
logic fights this at every stage.

Also, "boot -u" still does "something", but it doesn't do anything useful.

Package-Manager: portage-2.3.0
2016-09-04 17:01:44 +12:00

7 lines
247 B
Plaintext

source @@JAVA_PKG_SHAREPATH@@/package.env
jarpath="@@JAVA_PKG_JARDEST@@/@@PN@@.jar"
declare -a "options=($BOOT_JVM_OPTIONS)"
self="${BASH_SOURCE[0]}"
exec ${BOOT_JAVA_COMMAND:-java} "${options[@]}" -Dboot.app.path="$jarpath" -jar "$jarpath" "$@"