buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lacton <lac...@users.sourceforge.net>
Subject Re: Question about docs and download task
Date Mon, 31 Aug 2009 17:31:41 GMT
Hi,

It seems our rdoc is incompletely generated.

The documentation you're looking for is on line 94 of lib/buildr/core/common.rb.
http://svn.apache.org/repos/asf/buildr/trunk/lib/buildr/core/common.rb

We wrote the rdoc, but I cannot find it in the generated HTML pages.

lacton

On Mon, Aug 31, 2009 at 6:53 PM, Brendan
Grainger<brendan.grainger@gmail.com> wrote:
> Hi,
>
> I have successfully downloaded a zip and installed it an artifact using the
> guide here:
>
> http://buildr.apache.org/artifacts.html#downloading. ie:
>
> DOJO = '0.2.2'
>
> url =
> "http://download.dojotoolkit.org/release-#{DOJO}/dojo-#{DOJO}-widget.zip"
> download(artifact("dojo:dojo:zip:widget:#{DOJO}")=>url)
>
> Thanks, it's awesome. However, I have a question. When I look in the rdocs.
> I find no mention of a download method that tasks a hash a parameter. The
> closest I can find is URI::Generic.download which according to the docs
> takes a string or a task. Am I missing something here?
>
> I'd really like to understand this as it seems pretty fundamental.
>
> Thanks!

Mime
View raw message