Uses Vagrant to create a CentOS 6.5 VM and install with the latest release of the Boundary Event SDK
- Vagrant (http://www.vagrantup.com/downloads.html) version 1.6.3 or later
- Virtualbox (https://www.virtualbox.org/wiki/Downloads) version 4.3.10 or later
To disable the installation of the sdk run the following command in the cloned git respository:
touch no-boundary-sdk
To enable,after disabling run the following command in the cloned git respository:
rm no-boundary-sdk
Simple command line operations for those not familar with using Vagrant
This command starts a virtual machine and if the box centos-6.5
is not already on the system
it will be downloaded.
-
Start the virtual machine
$ vagrant up
Saves the state of the VM on disk so it can be resumed later
-
Safely shutdown the virtual machine
$ vagrant suspend
Restarts VM from its preserved state.
-
Resume a previously shutdown virtual machine
$ vagrant resume
Completely destroys the VM and it state, but it also frees up all the disk usage associated with the VM instance.
-
Halt and destroy the virtual machine
$ vagrant destroy
-
Start the virtual machine:
$ vagrant up
-
Login to the virtual machine:
vagrant ssh
-
Change directory the Boundary Event SDK source tree:
[vagrant@localhost ~]$ cd boundary-event-sdk
-
Setup the build environment:
[vagrant@localhost ~]$ bash setup.sh
-
Build and assembly distribution:
[vagrant@localhost ~]$ mvn assembly:assembly