Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (25 sloc) 0.751 kb
#!/bin/bash
## Script to run the ERLConsole
##
EJC_CMD=`which "$0"`
while LINK=`readlink "$EJC_CMD"`; do EJC_CMD=$LINK; done
ERJANG_DIR=`dirname "$EJC_CMD"`
###########################################################
# OS X - specific config
if [[ $(uname) == "Darwin" ]]; then
OSX_DOCK_ICON="-Xdock:icon=$ERJANG_DIR/erjang_logo4.png"
OSX_DOCK_NAME="-Xdock:name=ErjangConsole"
fi
###########################################################
# (TODO: OSX_DOCK variable expansions should expand into only one token - or zero, on non-OSX platforms.)
exec java \
-server \
-Xss1m \
-Xmx2g \
$OSX_DOCK_ICON \
$OSX_DOCK_NAME \
-cp "$ERJANG_DIR/erjang-0.2.jar" erjang.console.ERLConsole \
\
+A 10 \
+S 1 \
"$@"
Jump to Line
Something went wrong with that request. Please try again.