This is an automated email from the ASF dual-hosted git repository. donaldp pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/buildr.git
commit 8d560b48b9c25ef056732f8260ecefc7c16ad6e9 Author: Peter Donald <[email protected]> AuthorDate: Sun Jul 14 20:55:15 2019 +1000 Fix setting of sourcepath This updates change applied in a8377d49dfa2c50e72a9159bc6d1c854c6a83e8d to work in more scenarios. --- lib/buildr/java/doc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/buildr/java/doc.rb b/lib/buildr/java/doc.rb index 3dfca28..d684cc1 100644 --- a/lib/buildr/java/doc.rb +++ b/lib/buildr/java/doc.rb @@ -24,7 +24,7 @@ module Buildr #:nodoc: if project.doc.engine? Javadoc options = project.doc.options options[:windowtitle] = (project.comment || project.name) unless options[:windowtitle] - options[:sourcepath] = project.compile.sources.join(File::PATH_SEPARATOR) unless options[:sourcepath] + project.doc.sourcepath = project.compile.sources.dup if project.doc.sourcepath.empty? end end end
