Merge pull request #4225 from marc0der/master

* pr/4225:
  Update all GVM references to SDKMAN!
pull/4225/merge
Stephane Nicoll 9 years ago
commit 8ad020249e

@ -287,15 +287,15 @@ classpath is set correctly).
[[getting-started-gvm-cli-installation]] [[getting-started-sdkman-cli-installation]]
==== Installation with GVM ==== Installation with SDKMAN!
GVM (the Groovy Environment Manager) can be used for managing multiple versions of SDKMAN! (The Software Development Kit Manager) can be used for managing multiple versions of
various Groovy and Java binary packages, including Groovy itself and the Spring Boot CLI. various binary SDKs, including Groovy and the Spring Boot CLI.
Get `gvm` from http://gvmtool.net and install Spring Boot with Get SDKMAN! from http://sdkman.io and install Spring Boot with
[indent=0,subs="verbatim,quotes,attributes"] [indent=0,subs="verbatim,quotes,attributes"]
---- ----
$ gvm install springboot $ sdk install springboot
$ spring --version $ spring --version
Spring Boot v{spring-boot-version} Spring Boot v{spring-boot-version}
---- ----
@ -305,21 +305,21 @@ built, follow these extra instructions.
[indent=0,subs="verbatim,quotes,attributes"] [indent=0,subs="verbatim,quotes,attributes"]
---- ----
$ gvm install springboot dev /path/to/spring-boot/spring-boot-cli/target/spring-boot-cli-{spring-boot-version}-bin/spring-{spring-boot-version}/ $ sdk install springboot dev /path/to/spring-boot/spring-boot-cli/target/spring-boot-cli-{spring-boot-version}-bin/spring-{spring-boot-version}/
$ gvm use springboot dev $ sdk default springboot dev
$ spring --version $ spring --version
Spring CLI v{spring-boot-version} Spring CLI v{spring-boot-version}
---- ----
This will install a local instance of `spring` called the `dev` instance inside your gvm This will install a local instance of `spring` called the `dev` instance.
repository. It points at your target build location, so every time you rebuild Spring It points at your target build location, so every time you rebuild Spring
Boot, `spring` will be up-to-date. Boot, `spring` will be up-to-date.
You can see it by doing this: You can see it by doing this:
[indent=0,subs="verbatim,quotes,attributes"] [indent=0,subs="verbatim,quotes,attributes"]
---- ----
$ gvm ls springboot $ sdk ls springboot
================================================================================ ================================================================================
Available Springboot Versions Available Springboot Versions
@ -374,11 +374,11 @@ http://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also
`spring`) in any shell, or put it in your personal or system-wide bash completion `spring`) in any shell, or put it in your personal or system-wide bash completion
initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash` initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash`
and all scripts in that directory are executed when a new shell starts. To run the script and all scripts in that directory are executed when a new shell starts. To run the script
manually, e.g. if you have installed using `GVM` manually, e.g. if you have installed using SDKMAN!
[indent=0] [indent=0]
---- ----
$ . ~/.gvm/springboot/current/shell-completion/bash/spring $ . ~/.sdkman/springboot/current/shell-completion/bash/spring
$ spring <HIT TAB HERE> $ spring <HIT TAB HERE>
grab help jar run test version grab help jar run test version
---- ----

@ -13,8 +13,8 @@ a new project or write your own command for it.
[[cli-installation]] [[cli-installation]]
== Installing the CLI == Installing the CLI
The Spring Boot CLI can be installed manually; using GVM (the Groovy Environment The Spring Boot CLI can be installed manually; using SDKMAN! (the SDK Manager)
Manually) or using Homebrew or MacPorts if you are an OSX user. See or using Homebrew or MacPorts if you are an OSX user. See
_<<getting-started.adoc#getting-started-installing-the-cli>>_ _<<getting-started.adoc#getting-started-installing-the-cli>>_
in the "`Getting started`" section for comprehensive installation instructions. in the "`Getting started`" section for comprehensive installation instructions.

Loading…
Cancel
Save