buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1422476 - /buildr/trunk/lib/buildr/packaging/artifact.rb
Date Sun, 16 Dec 2012 07:07:31 GMT
Author: donaldp
Date: Sun Dec 16 07:07:30 2012
New Revision: 1422476

URL: http://svn.apache.org/viewvc?rev=1422476&view=rev
Log:
Ensure that the proc is invoked before writing out the pom by calling self.content to get
the content

Modified:
    buildr/trunk/lib/buildr/packaging/artifact.rb

Modified: buildr/trunk/lib/buildr/packaging/artifact.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/packaging/artifact.rb?rev=1422476&r1=1422475&r2=1422476&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/packaging/artifact.rb (original)
+++ buildr/trunk/lib/buildr/packaging/artifact.rb Sun Dec 16 07:07:30 2012
@@ -392,7 +392,7 @@ module Buildr
 
       unless @content
         enhance do
-          write name, @content
+          write name, self.content
         end
 
         class << self



Mime
View raw message