buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r711961 - in /incubator/buildr/trunk: CHANGELOG lib/buildr/packaging/archive.rb
Date Thu, 06 Nov 2008 20:23:51 GMT
Author: assaf
Date: Thu Nov  6 12:23:41 2008
New Revision: 711961

URL: http://svn.apache.org/viewvc?rev=711961&view=rev
Log:
Fixed: BUILDR-199 ArchiveTask#needed uses 'each' with no effect (Ittay Dror).

Modified:
    incubator/buildr/trunk/CHANGELOG
    incubator/buildr/trunk/lib/buildr/packaging/archive.rb

Modified: incubator/buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/CHANGELOG?rev=711961&r1=711960&r2=711961&view=diff
==============================================================================
--- incubator/buildr/trunk/CHANGELOG (original)
+++ incubator/buildr/trunk/CHANGELOG Thu Nov  6 12:23:41 2008
@@ -19,6 +19,8 @@
 * Fixed:  BUILDR-192 TestNG report results are overwritten (Alexis Midon).
 * Fixed:  BUILDR-193 TestNG uses project name for suite name (not valid file
           name on Windows).
+* Fixed: BUILDR-199 ArchiveTask#needed uses 'each' with no effect (Ittay
+Dror).
 * Fixed:  BUILDR-201 Sample project is not valid (Alexis Midon).
 
 1.3.3 (2008-10-08)

Modified: incubator/buildr/trunk/lib/buildr/packaging/archive.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/packaging/archive.rb?rev=711961&r1=711960&r2=711961&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/packaging/archive.rb (original)
+++ incubator/buildr/trunk/lib/buildr/packaging/archive.rb Thu Nov  6 12:23:41 2008
@@ -447,7 +447,6 @@
       # coming from, since some tasks touch the directory, e.g. when the
       # content of target/classes is included into a WAR.
       most_recent = @paths.collect { |name, path| path.sources }.flatten.
-        each { |src| File.directory?(src) ? Util.recursive_with_dot_files(src) | [src] :
src }.flatten.
         select { |file| File.exist?(file) }.collect { |file| File.stat(file).mtime }.max
       File.stat(name).mtime < (most_recent || Rake::EARLY) || super
     end



Mime
View raw message