Permalink
Browse files

more run.sh cleanups

  • Loading branch information...
1 parent dfcc872 commit 6b61031b891821db3d1186bd6cac092510ed075e @tmm1 committed Aug 2, 2008
Showing with 6 additions and 4 deletions.
  1. +6 −4 jruby/run.sh
View
@@ -2,18 +2,20 @@
export TENGEN_APPSERVER=`expr "$(cat 10gen.properties)" : 'BASE=\(.*\)\/libraries'`
echo TENGEN_APPSERVER=$TENGEN_APPSERVER
-TEMP_CLASSPATH=./bin/:$TENGEN_APPSERVER/build/
+CLASSPATH=./bin/:$TENGEN_APPSERVER/build/
for i in $TENGEN_APPSERVER/include/*.jar; do
- export TEMP_CLASSPATH=${TEMP_CLASSPATH}:${i}
+ export CLASSPATH=${CLASSPATH}:${i}
done
-echo TEMP_CLASSPATH=$TEMP_CLASSPATH
+echo CLASSPATH=$CLASSPATH
export ED_HOME=$TENGEN_APPSERVER
echo ED_HOME=$TENGEN_APPSERVER
echo Ready to run mongo.rb
+
#javac -d bin src/mongo/ruby/Mongo.java
#java mongo.ruby.Mongo
-CLASSPATH=$TEMP_CLASSPATH jruby mongo.rb
+CLASSPATH=$CLASSPATH jruby mongo.rb
+#CLASSPATH=$CLASSPATH jruby -S irb -r mongo.rb
echo Done.

0 comments on commit 6b61031

Please sign in to comment.