class Buildr::Doc::Javadoc
A convenient task for creating Javadocs from the project's compile task. Minimizes all the hard work to calling from and using.
For example:
doc.from(projects('myapp:foo', 'myapp:bar')).using(:windowtitle=>'My App')
Or, short and sweet:
desc 'My App' define 'myapp' do . . . doc projects('myapp:foo', 'myapp:bar') end
Public Instance Methods
generate(sources, target, options = {})
click to toggle source
# File lib/buildr/java/doc.rb, line 47 def generate(sources, target, options = {}) options = options.dup options[trace?(:javadoc) ? :verbose : :quiet] = true options[:output] = target Java::Commands.javadoc(*sources.flatten.uniq, options) end