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 2013/09/24 00:55:32 UTC
svn commit: r1525725 - /buildr/trunk/lib/buildr/ide/idea.rb
Author: donaldp
Date: Mon Sep 23 22:55:32 2013
New Revision: 1525725
URL: http://svn.apache.org/r1525725
Log:
Correct the reference to the buildr project instance from within the idea project extension
Modified:
buildr/trunk/lib/buildr/ide/idea.rb
Modified: buildr/trunk/lib/buildr/ide/idea.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/idea.rb?rev=1525725&r1=1525724&r2=1525725&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/idea.rb (original)
+++ buildr/trunk/lib/buildr/ide/idea.rb Mon Sep 23 22:55:32 2013
@@ -299,7 +299,7 @@ module Buildr #:nodoc:
def add_web_facet(options = {})
name = options[:name] || "Web"
url_base = options[:url_base] || "/"
- default_webroots = project.assets.paths
+ default_webroots = buildr_project.assets.paths
webroots = options[:webroots] || default_webroots
default_web_xml = "#{buildr_project._(:source, :main, :webapp)}/WEB-INF/web.xml"
web_xml = options[:web_xml] || default_web_xml