Author: donaldp
Date: Wed Jul 20 09:49:16 2011
New Revision: 1148676

URL: http://svn.apache.org/viewvc?rev=1148676&view=rev
Log:
Remove constant before redefining to avoid a warig

Modified:
    buildr/trunk/spec/sandbox.rb

Modified: buildr/trunk/spec/sandbox.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/spec/sandbox.rb?rev=1148676&r1=1148675&r2=1148676&view=diff
==============================================================================
--- buildr/trunk/spec/sandbox.rb (original)
+++ buildr/trunk/spec/sandbox.rb Wed Jul 20 09:49:16 2011
@@ -54,6 +54,9 @@ mkpath ENV['HOME']
 
 # Make Scala.version resilient to sandbox reset
 module Buildr::Scala
+
+  remove_const(:DEFAULT_VERSION)
+
   DEFAULT_VERSION = SCALA_VERSION_FOR_SPECS
 
   class << self


Reply via email to