buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r701212 - in /incubator/buildr/trunk: CHANGELOG lib/buildr/core/application.rb
Date Thu, 02 Oct 2008 19:03:45 GMT
Author: assaf
Date: Thu Oct  2 12:03:44 2008
New Revision: 701212

URL: http://svn.apache.org/viewvc?rev=701212&view=rev
Log:
Fixed:  BUILDR-157 Tasks library not loaded from a submodule.

Modified:
    incubator/buildr/trunk/CHANGELOG
    incubator/buildr/trunk/lib/buildr/core/application.rb

Modified: incubator/buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/CHANGELOG?rev=701212&r1=701211&r2=701212&view=diff
==============================================================================
--- incubator/buildr/trunk/CHANGELOG (original)
+++ incubator/buildr/trunk/CHANGELOG Thu Oct  2 12:03:44 2008
@@ -55,6 +55,7 @@
 * Fixed:  BUILDR-138 ScalaTest premature use of Buildr::Repositories
           inconsistent with customizing locations.
 * Fixed:  BUILDR-152 Project.task fails when task name starts with a colon.
+* Fixed:  BUILDR-157 Tasks library not loaded from a submodule. 
 * Docs:   BUILDR-111 Troubleshoot tip when Buildr's bin directory shows up in
           RUBYLIB (Geoffrey Ruscoe).
 

Modified: incubator/buildr/trunk/lib/buildr/core/application.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/core/application.rb?rev=701212&r1=701211&r2=701212&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/core/application.rb (original)
+++ incubator/buildr/trunk/lib/buildr/core/application.rb Thu Oct  2 12:03:44 2008
@@ -294,7 +294,7 @@
       files += [ File.expand_path('buildr.rake', ENV['HOME']), File.expand_path('buildr.rake')
].
         select { |file| File.exist?(file) }.each { |file| warn "Please use '#{file.ext('rb')}'
instead of '#{file}'" }
       #Load local tasks that can be used in the Buildfile.
-      files += Dir[File.expand_path('tasks/*.rake', original_dir)]
+      files += Dir[File.expand_path('tasks/*.rake')]
       files.each do |file|
         unless $LOADED_FEATURES.include?(file)
           load file
@@ -486,4 +486,4 @@
       end
     end
   end
-end
\ No newline at end of file
+end



Mime
View raw message