Repository: buildr Updated Branches: refs/heads/master 88f32b3d2 -> ea050f958
The GWT project publishes invalid jars that can not be included on source path when the javadoc tool is executing. Work around this issue in GWT by removing them from the documentation class path. Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/ea050f95 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/ea050f95 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/ea050f95 Branch: refs/heads/master Commit: ea050f958bf2d2533b2845cb175370bc13b473a4 Parents: 88f32b3 Author: Peter Donald <[email protected]> Authored: Wed Feb 22 10:27:44 2017 +1100 Committer: Peter Donald <[email protected]> Committed: Wed Feb 22 10:27:44 2017 +1100 ---------------------------------------------------------------------- CHANGELOG | 3 +++ addon/buildr/gwt.rb | 5 +++++ 2 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/ea050f95/CHANGELOG ---------------------------------------------------------------------- diff --git a/CHANGELOG b/CHANGELOG index ed24d97..f2e6017 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,7 @@ 1.5.1 (Pending) +* Fixed: GWT Addon: The GWT project publishes invalid jars that can not be included on source path when + the javadoc tool is executing. Work around this issue in GWT by removing them from the documentation + class path. * Change: IDEA: Change the ordering of dependencies in the IDE module descriptor such that test dependencies are first to allow test dependencies to override/shadow compile dependencies. * Fixed: IDEA: Correctly configure the IDE module if the language level differs from the root project language level. http://git-wip-us.apache.org/repos/asf/buildr/blob/ea050f95/addon/buildr/gwt.rb ---------------------------------------------------------------------- diff --git a/addon/buildr/gwt.rb b/addon/buildr/gwt.rb index fb3bc42..4d1a0a6 100644 --- a/addon/buildr/gwt.rb +++ b/addon/buildr/gwt.rb @@ -157,6 +157,11 @@ module Buildr module ProjectExtension include Extension + after_define(:doc) do |project| + # Remove gwt artifacts when performing javadocs as the gwt jars have invalid source files + project.doc.classpath.delete_if { |f| f.to_s =~ /.*\/com\/google\/gwt\/gwt-.*/ } + end + first_time do desc 'Run C22 to GSS converter. Set css files via environment variable CSS_FILES' task('css2gss') do
