Author: lacton
Date: Thu Oct 23 12:39:32 2008
New Revision: 707455
URL: http://svn.apache.org/viewvc?rev=707455&view=rev
Log:
Documentation update
Modified:
incubator/buildr/trunk/lib/buildr/packaging/artifact.rb
Modified: incubator/buildr/trunk/lib/buildr/packaging/artifact.rb
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/packaging/artifact.rb?rev=707455&r1=707454&r2=707455&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/packaging/artifact.rb (original)
+++ incubator/buildr/trunk/lib/buildr/packaging/artifact.rb Thu Oct 23 12:39:32
2008
@@ -348,11 +348,10 @@
# download
#
# Downloads an artifact from one of the remote repositories, and stores it
in the local
- # repository. Accepts a String or Hash artifact specification, and returns
a path to the
- # artifact in the local repository. Raises an exception if the artifact is
not found.
+ # repository. Raises an exception if the artifact is not found.
#
# This method attempts to download the artifact from each repository in
the order in
- # which they are returned from #remote, until successful. It always
downloads the POM first.
+ # which they are returned from #remote, until successful.
def download
trace "Downloading #{to_spec}"
remote = Buildr.repositories.remote.map { |repo_url| URI === repo_url ?
repo_url : URI.parse(repo_url) }