Author: djspiewak
Date: Tue Jun 23 00:02:08 2009
New Revision: 787462

URL: http://svn.apache.org/viewvc?rev=787462&view=rev
Log:
Working Groovy shell

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

Modified: buildr/trunk/lib/buildr/groovy/shell.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/groovy/shell.rb?rev=787462&r1=787461&r2=787462&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/groovy/shell.rb (original)
+++ buildr/trunk/lib/buildr/groovy/shell.rb Tue Jun 23 00:02:08 2009
@@ -18,11 +18,9 @@
       def launch
         # TODO  make this more generic!!
         
-        cp = (project.compile.dependencies + 
Scalac.dependencies).join(File::PATH_SEPARATOR) +
-          project.path_to(:target, :classes)
+        cp = project.compile.dependencies.join(File::PATH_SEPARATOR) + 
project.path_to(:target, :classes)
         
-        cmd_args += ' -classpath'
-        cmd_args += " '#{cp}'"
+        cmd_args = " -classpath '#{cp}'"
         
         system('groovysh' + cmd_args)
       end


Reply via email to