buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1532568 - in /buildr/trunk: CHANGELOG lib/buildr/ide/idea.rb
Date Tue, 15 Oct 2013 22:25:43 GMT
Author: donaldp
Date: Tue Oct 15 22:25:42 2013
New Revision: 1532568

URL: http://svn.apache.org/r1532568
Log:
Bug in IdeaProject.partition_dependencies resulted in projects being rebuilt if artifacts
were added to the project with dependencies on the current project.

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=1532568&r1=1532567&r2=1532568&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Tue Oct 15 22:25:42 2013
@@ -1,4 +1,7 @@
 1.4.15 (Pending)
+* Fixed:  Bug in IdeaProject.partition_dependencies resulted in
+          projects being rebuilt if artifacts were added to the
+          project with dependencies on the current project.
 * Fixed:  BUILDR-605 - Ensure package task invokes included paths.
 * Fixed:  BUILDR-609 - compile.from should accept Task argument.
 

Modified: buildr/trunk/lib/buildr/ide/idea.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/idea.rb?rev=1532568&r1=1532567&r2=1532568&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/idea.rb (original)
+++ buildr/trunk/lib/buildr/ide/idea.rb Tue Oct 15 22:25:42 2013
@@ -1013,7 +1013,7 @@ module Buildr #:nodoc:
         dependencies.each do |dependency|
           artifacts = Buildr.artifacts(dependency)
           artifacts_as_strings = artifacts.map(&:to_s)
-          all_projects = Buildr::Project.instance_variable_get("@projects").keys - [buildr_project.name]
+          all_projects = Buildr::Project.instance_variable_get("@projects").keys
           project = Buildr.projects(all_projects).detect do |project|
             [project.packages, project.compile.target, project.resources.target, project.test.compile.target,
project.test.resources.target].flatten.
               detect { |component| artifacts_as_strings.include?(component.to_s) }



Mime
View raw message