You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2012/12/16 08:07:31 UTC

svn commit: r1422476 - /buildr/trunk/lib/buildr/packaging/artifact.rb

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