This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
example clojure startup script for mac osx
Here’s my bash script to start clojure with processing adapted from the one here
I’ve also got jline there and i place this script in the same dir as the clj-processing jar file.
#!/bin/bash
CLOJURE_DIR=~/dir-where-i-have-clojure
CLOJURE_JAR=$CLOJURE_DIR/clojure-1.0.0.jar
CONTRIB_JAR=$CLOJURE_DIR/clojure-contrib/clojure-contrib.jar
JLINE_JAR=$CLOJURE_DIR/jline-0.9.94.jar
PROCESSING_DIR=/Applications/Processing.app/Contents/Resources/Java
PROCESSING_OGL=$PROCESSING_DIR/libraries/opengl/library
PROCESSING_JAR=$PROCESSING_DIR/core.jar:$PROCESSING_OGL/gluegen-rt.jar:$PROCESSING_OGL/jogl.jar:$PROCESSING_OGL/opengl.jar:rosado.processing.jar
if [ -z "$1" ]; then
java -cp $JLINE_JAR:$CLOJURE_JAR:$CONTRIB_JAR:$PROCESSING_JAR -Djava.library.path=$PROCESSING_OGL jline.ConsoleRunner clojure.lang.Repl
else
java -cp $CLOJURE_JAR:$CONTRIB_JAR:$PROCESSING_JAR -Djava.library.path=$PROCESSING_OGL clojure.lang.Script $1 -- $*
fi






