Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Create simple script to run the ERLConsole application.

  • Loading branch information...
commit 6a1b217029ffb62cca434665cc460fc6e0a1a55f 1 parent 0f74956
@krestenkrab krestenkrab authored
Showing with 28 additions and 0 deletions.
  1. +28 −0 ejc
  2. BIN  erjang_logo4.png
View
28 ejc
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+EJC_CMD=$0
+while [ -h "$EJC_CMD" ]; do
+ ls=`ls -ld "$EJC_CMD"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/' > /dev/null; then
+ EJC_CMD="$link"
+ else
+ EJC_CMD="`dirname $EJC_CMD`/$link"
+ fi
+done
+
+EJC_BIN=`dirname "$EJC_CMD"`
+
+java \
+ -server \
+ -Xss1m \
+ -Xmx2g \
+ -Xdock:icon=$EJC_BIN/erjang_logo4.png \
+ -Derj.threads=1 \
+ -cp $EJC_BIN/erjang-0.1.jar erjang.console.ERLConsole \
+ -root /Users/krab/Projects/otp-5.8 \
+ +e 5.8 \
+ -name erjang@`hostname` \
+ -home "$HOME" \
+ $*
+
View
BIN  erjang_logo4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.