source: tags/1.6.1/ci/install-jenv.bash

Last change on this file was 15204, checked in by Mark Evenson, 4 years ago

ci: another try at getting the Java environment initialized

File size: 316 bytes
Line 
1#!/usr/bin/env bash
2DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
3
4target=~/.jenv
5
6if [[ ! -r "${target}" ]]; then 
7    git clone https://github.com/jenv/jenv.git "${target}"
8fi
9
10. ${DIR}/ensure-jenv-is-present.bash
11
12jenv enable-plugin ant
13jenv enable-plugin maven
14jenv enable-plugin export 
15
16jenv doctor
17
18
Note: See TracBrowser for help on using the repository browser.