Created
January 20, 2012 16:46
-
-
Save nurettin/1648335 to your computer and use it in GitHub Desktop.
torquebox source setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export MUJDE_HOME=$(pwd) | |
export MYSQL_HOME=$MUJDE_HOME/mysql/faal | |
export JRUBY_OPTS="--1.9 -J-Djruby.fork.enabled=true" | |
export JAVA_HOME=$MUJDE_HOME/kit/java/faal | |
export TORQUEBOX_HOME=$MUJDE_HOME/kit/torquebox/faal | |
export JBOSS_HOME=$TORQUEBOX_HOME/jboss | |
export JRUBY_HOME=$TORQUEBOX_HOME/jruby | |
export PATH=$MUJDE_HOME/bin:$JAVA_HOME/bin:$JRUBY_HOME/bin:$MYSQL_HOME/bin:$PATH | |
export PATH=`awk -F: '{for(i=1;i<=NF;i++){if(!a[$i]++)printf s$i;s=":"}}'<<<$PATH` | |
alias ruby='jruby' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment