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
This commit is contained in:
Kent Fredric
2016-09-04 16:59:42 +12:00
parent 358ef4db01
commit e0631bd3e5
4 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
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" "$@"