summaryrefslogtreecommitdiff
path: root/xdocs/srcdownload.xml
blob: cf0b75e4d20dfb1fa06fd1a53b7ac0a587ca1caf (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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0"?>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<document>

  <properties>
    <title>Source Distributions</title>
    <base/>
  </properties>

<body>

<section name="Apache Ant&amp;#x2122;">
  <p>Apache Ant is a Java library and command-line tool that help
  building software.</p>
</section>

<section name="Downloading Apache Ant">

<p>Use the links below to download a source distribution of Ant from
one of our mirrors.  It is good practice to
<a href="[location]#Verify Releases">verify the integrity</a>
of the distribution files, especially if you are using one of our
mirror sites.  In order to do this you must use the signatures from
our <a href="http://www.apache.org/dist/ant/">main distribution
directory</a>.</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>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 Apache Ant">

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

<div class="warning">
<div class="label">Note</div>
<div class="content">Ant 1.8.2 was released on 20-December-2010 and
may not be available on all mirrors for a few days.</div>
</div>
<br></br>
<div class="warning">
<div class="label">Tar files may require gnu tar to extract</div>
<div class="content">Tar files in the distribution contain long file names, and may
 require gnu tar to do the extraction.</div>
</div>

<ul>
<li><code>.zip</code> archive:
<a href="[preferred]/ant/source/apache-ant-1.8.2-src.zip">apache-ant-1.8.2-src.zip</a>
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.asc">PGP</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.sha1">SHA1</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.sha512">SHA512</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.md5">MD5</a>]</li>

<li><code>.tar.gz</code> archive:
<a href="[preferred]/ant/source/apache-ant-1.8.2-src.tar.gz">apache-ant-1.8.2-src.tar.gz</a>
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.asc">PGP</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.sha1">SHA1</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.sha512">SHA512</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.md5">MD5</a>]</li>

<li><code>.tar.bz2</code> archive:
<a href="[preferred]/ant/source/apache-ant-1.8.2-src.tar.bz2">apache-ant-1.8.2-src.tar.bz2</a>
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.asc">PGP</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.sha1">SHA1</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.sha512">SHA512</a>]
[<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.md5">MD5</a>]</li>
</ul>
</section>


<section name="Old Ant Releases">

<p>Older releases of Ant can be found <a
href="http://archive.apache.org/dist/ant/source/">here</a>.  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 signature or the SHA1, SHA512 or MD5 checksums.  The
checksums are not as strong indicators as the PGP signature.</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 apache-ant-1.8.2-src.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% pgp -ka KEYS<br />
% pgp apache-ant-1.8.2-src.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% gpg --import KEYS<br />
% gpg --verify apache-ant-1.8.2-src.tar.gz.asc
</code></p>

<p>Alternatively, you can verify the checksums on the files.  Unix
programs called <code>md5</code>/<code>sha1</code>/<code>sha512</code> or
<code>md5sum</code>/<code>sha1sum</code>/<code>sha512sum</code> are included in many unix
distributions.  <code>*sum</code> 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>.  <a
href="http://www.slavasoft.com/fsum/">fsum</a> supports MD5 and
SHA1.</p>

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

</section>

</body>
</document>