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/10/01 12:47:38 UTC
svn commit: r1528039 - /buildr/trunk/lib/buildr/ide/idea.rb
Author: donaldp
Date: Tue Oct 1 10:47:37 2013
New Revision: 1528039
URL: http://svn.apache.org/r1528039
Log:
If gwt_module_names is specified then assume gwt is to be enabled
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=1528039&r1=1528038&r2=1528039&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/idea.rb (original)
+++ buildr/trunk/lib/buildr/ide/idea.rb Tue Oct 1 10:47:37 2013
@@ -748,7 +748,7 @@ module Buildr #:nodoc:
end
end
- if options[:enable_gwt]
+ if options[:enable_gwt] || (options[:gwt_module_names] && options[:gwt_module_names].size > 1)
module_names = options[:gwt_module_names] || [project.iml.id]
module_names.each do |module_name|
facet_name = options[:gwt_facet_name] || "GWT"