You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by dj...@apache.org on 2009/06/23 02:02:09 UTC
svn commit: r787462 - /buildr/trunk/lib/buildr/groovy/shell.rb
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