buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1154695 - in /buildr/trunk: CHANGELOG addon/buildr/bnd.rb
Date Sun, 07 Aug 2011 12:17:12 GMT
Author: donaldp
Date: Sun Aug  7 12:17:12 2011
New Revision: 1154695

URL: http://svn.apache.org/viewvc?rev=1154695&view=rev
Log:
Add each artifact individually as a prerequisite to bundle / package task when passed to classpath_element
method

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/addon/buildr/bnd.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1154695&r1=1154694&r2=1154695&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Sun Aug  7 12:17:12 2011
@@ -1,4 +1,6 @@
 1.4.7 (Pending)
+* Fixed:  Bnd Plugin: Add each artifact individually as a prerequisite to
+          bundle / package task when passed to classpath_element method
 * Change: Upgrade to highline 1.6.2
 * Change: Upgrade to jekyll 0.11.0, jekylltask 1.1.0, RedCloth 4.2.7, rdoc 3.8 for
           generating documentation

Modified: buildr/trunk/addon/buildr/bnd.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/addon/buildr/bnd.rb?rev=1154695&r1=1154694&r2=1154695&view=diff
==============================================================================
--- buildr/trunk/addon/buildr/bnd.rb (original)
+++ buildr/trunk/addon/buildr/bnd.rb Sun Aug  7 12:17:12 2011
@@ -46,7 +46,9 @@ module Buildr
 
       def classpath_element(dependencies)
         artifacts = Buildr.artifacts([dependencies])
-        self.prerequisites << artifacts
+        artifacts.each do |artifact|
+          self.prerequisites << artifact
+        end
         artifacts.each do |dependency|
           self.classpath << dependency.to_s
         end



Mime
View raw message