buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r787483 - /buildr/trunk/lib/buildr/core/shell.rb
Date Tue, 23 Jun 2009 00:06:30 GMT
Author: djspiewak
Date: Tue Jun 23 00:06:30 2009
New Revision: 787483

URL: http://svn.apache.org/viewvc?rev=787483&view=rev
Log:
Added JavaRebel integration to Clojure shell

Modified:
    buildr/trunk/lib/buildr/core/shell.rb

Modified: buildr/trunk/lib/buildr/core/shell.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/shell.rb?rev=787483&r1=787482&r2=787483&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/shell.rb (original)
+++ buildr/trunk/lib/buildr/core/shell.rb Tue Jun 23 00:06:30 2009
@@ -36,6 +36,8 @@
     end
     
     class Clojure < Base
+      include JavaRebel
+      
       JLINE_VERSION = '0.9.94'
       
       class << self
@@ -58,7 +60,11 @@
             'jline:jline:jar:0.9.94'
           ]
         
-        Java::Commands.java 'jline.ConsoleRunner', 'clojure.lang.Repl', :classpath =>
cp
+        Java::Commands.java 'jline.ConsoleRunner', 'clojure.lang.Repl', {
+          :properties => rebel_props(project),
+          :classpath => cp,
+          :java_args => rebel_args
+        }
       end
       
     private



Mime
View raw message