#!/bin/bash

source "`dirname "$0"`/functions.sh"

add_classpath ${JDG_HOME}/infinispan-cli-client-${version.org.infinispan}.jar
add_classpath ${JDG_HOME}/bin/infinispan-cli-client-runtime-classpath.txt

add_jvm_args $JVM_PARAMS

# Sample JPDA settings for remote socket debugging
#add_jvm_args "-Xrunjdwp:transport=dt_socket,address=8686,server=y,suspend=n"

add_program_args "$@"

start org.infinispan.cli.Main

