lib/Tools/scala
changeset 27914 9a7f17370ffb
child 27916 09b3010ffaf2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lib/Tools/scala	Sat Aug 16 13:31:57 2008 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +#!/usr/bin/env bash
     1.5 +#
     1.6 +# $Id$
     1.7 +# Author: Makarius
     1.8 +#
     1.9 +# DESCRIPTION: Scala wrapper
    1.10 +
    1.11 +
    1.12 +PRG="$(basename "$0")"
    1.13 +
    1.14 +function usage()
    1.15 +{
    1.16 +  echo
    1.17 +  echo "Usage: $PRG [ARGS ...]"
    1.18 +  echo
    1.19 +  echo "  Invoke Scala within the Isabelle environment."
    1.20 +  echo
    1.21 +  exit 1
    1.22 +}
    1.23 +
    1.24 +
    1.25 +## main
    1.26 +
    1.27 +CLASSPATH="$(jvmpath "$CLASSPATH")"
    1.28 +exec "$ISABELLE_SCALA" "$@"