summaryrefslogtreecommitdiff
path: root/xdocs/bindownload.xml
blob: 434bb7c37ac9c2fc5cef8ede4c61a552a6856be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0"?>
<document>

  <properties>
    <title>Downloading Ant - Binary Distribution</title>
    <base/>
  </properties>

<body>

<section name="Downloading Ant">

<p>Use the links below to download a binary distribution of Ant from
one of our mirrors.  You <strong>must</strong> 
<a href="[location]#Verify Releases">verify the integrity</a> of 
the downloaded files using signatures downloaded from our main
distribution directory.</p>

<p>Ant is distributed as <code>zip</code>, <code>tar.gz</code> and
<code>tar.bz2</code> archives - the contents are the same.  Please
note that the <code>tar.*</code> archives contain file names longer
than 100 characters and have been created using GNU tar extensions.
Thus they must be untarred with a GNU compatible version of
<code>tar</code>.</p>

<p>In addition we provide RPMs created and maintained by the <a
href="http://www.jpackage.org">JPackage team</a>, see the <a
href="[preferred]/ant/binaries/rpms/">distribution directory</a>.</p>

<p>If you do not see the file you need in the links below, please see
the <a href="http://www.apache.org/dist/ant/">master distribution
directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>

</section>

<section name="Mirror">

<p>You are currently using <b>[preferred]</b>.  If you encounter a
problem with this mirror, please select another mirror.  If all
mirrors are failing, there are <i>backup</i> mirrors (at the end of
the mirrors list) that should be available.</p>

<form action="[location]" method="get" id="SelectMirror">
Other mirrors: <select name="Preferred">
[if-any http]
  [for http]<option value="[http]">[http]</option>[end]
[end]  
[if-any ftp]
  [for ftp]<option value="[ftp]">[ftp]</option>[end]
[end]
[if-any backup]
  [for backup]<option value="[backup]">[backup] (backup)</option>[end]
[end]
</select>
<input type="submit" value="Change" />     
</form>
</section>

<section name="Current Release of Ant">

<p>Currently, Apache Ant 1.5.1 is the best available version, see the
<a href="[preferred]/ant/README.html">release notes</a>.</p>

<ul>
<li><code>.zip</code> archive: 
<a href="[preferred]/ant/binaries/jakarta-ant-1.5.1-bin.zip">jakarta-ant-1.5.1-bin.zip</a> 
[<a href="http://www.apache.org/dist/ant/binaries/jakarta-ant-1.5.1-bin.zip.asc">PGP</a>]
[<a href="http://www.apache.org/dist/ant/binaries/jakarta-ant-1.5.1-bin.zip.md5">MD5</a>]</li>

<li><code>.tar.gz</code> archive: 
<a href="[preferred]/ant/binaries/jakarta-ant-1.5.1-bin.tar.gz">jakarta-ant-1.5.1-bin.tar.gz</a> 
[<a href="http://www.apache.org/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.gz.asc">PGP</a>]
[<a href="http://www.apache.org/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.gz.md5">MD5</a>]</li>

<li><code>.tar.bz2</code> archive: 
<a href="[preferred]/ant/binaries/jakarta-ant-1.5.1-bin.tar.bz2">jakarta-ant-1.5.1-bin.tar.bz2</a> 
[<a href="http://www.apache.org/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.bz2.asc">PGP</a>]
[<a href="http://www.apache.org/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.bz2.md5">MD5</a>]</li>
</ul>
</section>

<section name="Nightly Builds">

<p>If you wish to use the latest Ant features, you can try downloading a
<a href="http://cvs.apache.org/builds/jakarta-ant/nightly/">nightly build</a>.
</p>

</section>

<section name="Old Ant Releases">

<p>Older releases of Ant can be found <a
href="http://jakarta.apache.org/builds/ant/release/">here</a>.  Those
releases are only provided as <code>zip</code> archives that can be
extracted by <code>jar xf </code><em>archive.zip</em> - we highly
recommend to not use those releases but upgrade to Ant's <a
href="[location]#Current Release of Ant">latest</a> release.</p>

</section>

<section name="Verify Releases">

<p>It is essential that you verify the integrity of the downloaded
files using the PGP or MD5 signatures.</p>

<p>The PGP signatures can be verified using PGP or GPG.  First
download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
as well as the <code>asc</code> signature file for the particular
distribution.  Make sure you get these files from the <a
href="http://www.apache.org/dist/ant/">main distribution
directory</a>, rather than from a mirror. Then verify the signatures
using</p>

<p><code>
% pgpk -a KEYS<br />
% pgpv jakarta-ant-bin-1.5.1.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% pgp -ka KEYS<br />
% pgp jakarta-ant-bin-1.5.1.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% gpg --import KEYS<br />
% gpg --verify jakarta-ant-bin-1.5.1.tar.gz.asc
</code></p>

<p>Alternatively, you can verify the MD5 signature on the files.  A
unix program called <code>md5</code> or <code>md5sum</code> is
included in many unix distributions.  It is also available as part of
<a href="http://www.gnu.org/software/textutils/textutils.html">GNU
Textutils</a>.  Windows users can get binary md5 programs from <a
href="http://www.fourmilab.ch/md5/">here</a>, <a
href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or
<a href="http://www.slavasoft.com/fsum/">here</a>.</p>

<p>We highly recommend to verify the PGP signature, though.</p>

</section>

</body>
</document>