May 2002
Intermediate to advanced
288 pages
10h 50m
English
get
Retrieves a file from a URL.
dest (all, File, Y)The local name to store the file as.
ignoreerrors (all, boolean, N)If true, log errors but do not abort the build.
Defaults to false.
src (all, URL, Y)The URL of the remote file to retrieve.
usetimestamp (all, boolean, N)If true, download only the file if the remote timestamp is newer than
the local file. Works only with the HTTP protocol. When the file is
downloaded, its timestamp is set to the timestamp on the remote
machine. Defaults to false.
verbose (all, boolean, N)When true, display a
“.” for every 100 KB of data
retrieved. Defaults to false.
None.
Get the O’Reilly home page:
<get src="http://www.oreilly.com/" dest="${builddir}/oreilly_home.html"/>If behind a firewall, specify proxy server configuration using the
ANT_OPTS environment variable (as explained in
Chapter 2) before running Ant.
Read now
Unlock full access