#!/bin/bash

# See: https://stackoverflow.com/questions/29832037/how-to-get-script-directory-in-posix-sh/29835459#29835459

full_progdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
full_parentdir=${full_progdir%/*}

cd "$full_parentdir" \
    &&  . ./gs3-setup.sh \
    && if [ -f ant-start-with-exts.sh ] ; then ./ant-start-with-exts.sh ; else ant start ; fi

