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 2015/01/18 01:30:39 UTC
[3/4] buildr git commit: Support dependencies in the gwt addon that
are other local projects rather that artifacts,
without forcing a compilation of dependency when parsing buildfile.
Support dependencies in the gwt addon that are other local projects rather that artifacts, without forcing a compilation of dependency when parsing buildfile.
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/2497ef7d
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/2497ef7d
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/2497ef7d
Branch: refs/heads/master
Commit: 2497ef7d26010ef3312e8d2e4ee8f01e3e98b82c
Parents: 4aeb9a7
Author: Peter Donald <pe...@realityforge.org>
Authored: Sun Jan 18 11:28:21 2015 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Sun Jan 18 11:28:21 2015 +1100
----------------------------------------------------------------------
CHANGELOG | 3 +++
addon/buildr/gwt.rb | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/buildr/blob/2497ef7d/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 48f8b74..af0cbeb 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
* Change: Update checkstyle to 6.1.1. Submitted by neher.
* Fixed: Avoid empty dependency issue in gwt addon if the attempting to gwt compile
a project that has no src/main/java.
+* Fixed: Support dependencies in the gwt addon that are other local projects rather
+ that artifacts, without forcing a compilation of dependency when parsing
+ buildfile.
1.4.21 (2014-11-28)
* Change: Upgrade atoulme-Antwrap to 0.7.5 to remove deprecation warnings in
http://git-wip-us.apache.org/repos/asf/buildr/blob/2497ef7d/addon/buildr/gwt.rb
----------------------------------------------------------------------
diff --git a/addon/buildr/gwt.rb b/addon/buildr/gwt.rb
index 5a401cd..5dfaa63 100644
--- a/addon/buildr/gwt.rb
+++ b/addon/buildr/gwt.rb
@@ -128,7 +128,7 @@ module Buildr
if project.iml?
existing_deps = project.compile.dependencies.collect do |d|
a = artifact(d)
- a.invoke if a.respond_to?(:invoke)
+ a.invoke if a.is_a?(Buildr::Artifact)
a.to_s
end
Buildr::GWT.dependencies(version).each do |d|