Author: djspiewak
Date: Tue Jun 23 00:08:24 2009
New Revision: 787493

URL: http://svn.apache.org/viewvc?rev=787493&view=rev
Log:
Removed redundant shell definition

Modified:
    buildr/trunk/lib/buildr/scala.rb

Modified: buildr/trunk/lib/buildr/scala.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala.rb?rev=787493&r1=787492&r2=787493&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala.rb (original)
+++ buildr/trunk/lib/buildr/scala.rb Tue Jun 23 00:08:24 2009
@@ -22,34 +22,3 @@
 require 'buildr/scala/shell'
 
 Object::Scala = Buildr::Scala
-
-module Buildr
-  module ScalaShell
-    include Extension
-    
-    first_time do
-      Project.local_task 'shell'
-    end
-    
-    after_define do |project|
-      project.task 'shell' => :compile do
-        Scalac = Buildr::Scala::Scalac
-        
-        Scalac.scala_home or fail 'Are we forgetting something? SCALA_HOME not 
set.'
-        
-        cp = (project.compile.dependencies + 
Scalac.dependencies).join(File::PATH_SEPARATOR) +
-          project.path_to(:target, :classes)
-        
-        cmd_args = " -Denv.classpath='#{cp}'"
-        cmd_args += ' -classpath'
-        cmd_args += " '#{cp}'"
-        
-        system(File.expand_path('bin/scala', Scalac.scala_home) + cmd_args)
-      end
-    end
-  end
-  
-  class Project
-    include ScalaShell
-  end
-end


Reply via email to