Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Groovy enVironment Manager (GVM)
Shell Groovy Cucumber

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
gradle/wrapper
mods/vertx.mongo-persistor-v1.2
src
.gitignore
LICENSE
README.md
build.gradle
config.groovy
gradlew
run.sh

README.md

GVM the Groovy enVironment Manager

GVM is a tool for managing parallel Versions of multiple Software Development Kits on any Unix based system. It provides a convenient command line interface for installing, switching, removing and listing Candidates.

See documentation on the GVM Project Page.

Please report any bugs and feature request on the GitHub Issue Tracker.

Questions and disccusion at the Nabble Forum.

Installation

Open your favourite terminal and enter the following:

curl -s get.gvmtool.net | bash

If the environment needs tweaking for GVM to be installed, the installer will prompt you accordingly and ask you to restart.

Running the Cucumber Features

All GVM's tests are written in Cucumber and can be found under src/test/cucumber/gvm. These can be run with Gradle by running the following command:

./gradlew -i

Please enusre that the JAVA_HOME environment variable set to JDK 1.7 on you system!

Mac users can add the following line to their ~/.bash_profile file to set this variable:

export JAVA_HOME=$(/usr/libexec/java_home -v1.7)

Running the Server locally

Ensure that you have vertx installed on your machine.

gvm install vert.x

To start up the server locally, simply enter:

vertx run build/server/server.groovy

This will start the server on localhost:8080

To make your GVM installation work with your local server, edit the GVM_SERVICE variable in the ~/.gvm/bin/gvm-init.sh file as follows:

export GVM_SERVICE="http://localhost:8080"
Something went wrong with that request. Please try again.