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/05 03:11:51 UTC

svn commit: r1417269 - in /buildr/trunk: CHANGELOG lib/buildr/ide/idea.rb

Author: donaldp
Date: Wed Dec  5 02:11:50 2012
New Revision: 1417269

URL: http://svn.apache.org/viewvc?rev=1417269&view=rev
Log:
Add FrameworkDetectionExcludesConfiguration facet to Idea project file creation by default.

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/ide/idea.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1417269&r1=1417268&r2=1417269&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Wed Dec  5 02:11:50 2012
@@ -1,4 +1,6 @@
 1.4.10 (Pending)
+* Added: Add FrameworkDetectionExcludesConfiguration facet to Idea project
+         file creation by default.
 * Fixed: In the IntelliJ extension, defer the materialization of the
          default_components until expansion time to avoid loss of sub-
          components added after an add_component call.

Modified: buildr/trunk/lib/buildr/ide/idea.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/idea.rb?rev=1417269&r1=1417268&r2=1417269&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/idea.rb (original)
+++ buildr/trunk/lib/buildr/ide/idea.rb Wed Dec  5 02:11:50 2012
@@ -725,10 +725,17 @@ module Buildr
           lambda { modules_component },
           vcs_component,
           artifacts_component,
-          configurations_component
+          configurations_component,
+          lambda { framework_detection_exclusion_component }
         ]
       end
 
+      def framework_detection_exclusion_component
+        create_component('FrameworkDetectionExcludesConfiguration') do |xml|
+          xml.file :url => file_path(buildr_project._(:artifacts))
+        end
+      end
+
       def initial_components
         [
           lambda { project_root_manager_component },