buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbo...@apache.org
Subject svn commit: r663400 - /incubator/buildr/trunk/addon/buildr/nailgun.rb
Date Wed, 04 Jun 2008 23:02:44 GMT
Author: vborja
Date: Wed Jun  4 16:02:44 2008
New Revision: 663400

URL: http://svn.apache.org/viewvc?rev=663400&view=rev
Log:
BUILDR-80. Fix reference to Util#timestamp method on nailgun addon.

Modified:
    incubator/buildr/trunk/addon/buildr/nailgun.rb

Modified: incubator/buildr/trunk/addon/buildr/nailgun.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/addon/buildr/nailgun.rb?rev=663400&r1=663399&r2=663400&view=diff
==============================================================================
--- incubator/buildr/trunk/addon/buildr/nailgun.rb (original)
+++ incubator/buildr/trunk/addon/buildr/nailgun.rb Wed Jun  4 16:02:44 2008
@@ -315,6 +315,7 @@
     end
 
     module Util
+      extend Buildr::Util
       extend self
 
       def find_buildfile(pwd, candidates, nosearch=false)
@@ -457,7 +458,7 @@
         end
 
         def last_modification
-          File.timestamp(path)
+          Util.timestamp(path)
         end
         
         def should_be_loaded?
@@ -841,7 +842,7 @@
         puts "Starting #{$nailgun_server}"
         $nailgun_server.start_server
 
-        is_win = Buildr::Util.win_os?
+        is_win = Util.win_os?
         bin_path = File.expand_path(installed_bin.to_s.pathmap("%d"))
         bin_name = installed_bin.to_s.pathmap("%f")
 



Mime
View raw message