2001-08-07 13:51:43 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
|
|
|
|
<!-- Content Stylesheet for Site -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- start the processing -->
|
|
|
|
<html>
|
2002-03-05 07:57:52 +00:00
|
|
|
<!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
|
2001-08-07 13:51:43 +00:00
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
|
|
|
|
|
|
|
|
<meta name="author" value="Conor MacNeill">
|
2002-03-18 02:44:31 +00:00
|
|
|
<meta name="email" value="">
|
2001-08-07 13:51:43 +00:00
|
|
|
<meta name="author" value="Stefan Bodewig">
|
|
|
|
<meta name="email" value="stefan.bodewig@epost.de">
|
|
|
|
|
2002-02-21 12:56:30 +00:00
|
|
|
<title>Apache Ant - Ant</title>
|
2001-08-07 13:51:43 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="#ffffff" text="#000000" link="#525D76">
|
|
|
|
<table border="0" width="100%" cellspacing="0">
|
|
|
|
<!-- TOP IMAGE -->
|
|
|
|
<tr>
|
2002-03-01 09:17:37 +00:00
|
|
|
<td align="left">
|
2002-04-19 20:16:48 +00:00
|
|
|
<a href="http://jakarta.apache.org"><img src="images/jakarta-logo.gif" border="0"/></a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</td>
|
2002-03-05 00:43:05 +00:00
|
|
|
<td align="center">
|
2002-04-30 01:20:31 +00:00
|
|
|
<a href="http://www.sdmagazine.com"><img src="images/sdm_productivity_award.gif" border="0" height="75" width="135"/></a>
|
2002-04-30 00:58:46 +00:00
|
|
|
</td>
|
|
|
|
<td align="center">
|
|
|
|
<a href="http://www.javaworld.com"><img src="images/jw_ec_logo_winner2002.gif" border="0" height="85" width="230"/></a>
|
2002-03-05 00:43:05 +00:00
|
|
|
</td>
|
2002-03-01 09:17:37 +00:00
|
|
|
<td align="right">
|
2002-03-15 09:53:16 +00:00
|
|
|
<a href="http://jakarta.apache.org/ant/"><img src="./images/ant_logo_large.gif" alt="Apache Ant" border="0"/></a>
|
2002-03-01 09:17:37 +00:00
|
|
|
</td>
|
2001-08-07 13:51:43 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" width="100%" cellspacing="4">
|
|
|
|
<tr><td colspan="2">
|
|
|
|
<hr noshade="" size="1"/>
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<!-- LEFT SIDE NAVIGATION -->
|
|
|
|
<td valign="top" nowrap="true">
|
2001-10-30 10:05:39 +00:00
|
|
|
<p><strong>Apache Ant</strong></p>
|
2001-08-07 13:51:43 +00:00
|
|
|
<ul>
|
|
|
|
<li> <a href="./index.html">Front Page</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="./antnews.html">News</a>
|
|
|
|
</li>
|
2001-08-07 14:51:49 +00:00
|
|
|
<li> <a href="./manual/index.html">Documentation</a>
|
2002-01-25 14:16:21 +00:00
|
|
|
</li>
|
|
|
|
<li> <a href="./projects.html">Related Projects</a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</li>
|
|
|
|
<li> <a href="./external.html">External Tools and Tasks</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="./resources.html">Resources</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="./faq.html">Ant FAQ</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="./problems.html">Having Problems?</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p><strong>Download</strong></p>
|
|
|
|
<ul>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/binindex.html">Binaries</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/sourceindex.html">Source Code</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p><strong>Jakarta</strong></p>
|
|
|
|
<ul>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/news.html">News & Status</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/mission.html">Mission</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/guidelines.html">Guidelines Notes</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/faqs.html">FAQs</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p><strong>Get Involved</strong></p>
|
|
|
|
<ul>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/getinvolved.html">Overview</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repositories</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://jakarta.apache.org/site/library.html">Reference Library</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant">Bug Database</a>
|
|
|
|
</li>
|
|
|
|
<li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td align="left" valign="top">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
2002-05-01 20:02:15 +00:00
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
|
|
|
<a name="Ant 1.5Beta1"><strong>Ant 1.5Beta1</strong></a>
|
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<h3>Apache Ant 1.5Beta1 Available !</h3>
|
|
|
|
<p>Version 1.5Beta1 of Ant has been released. It is available for download
|
|
|
|
<a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.5Beta1/">
|
|
|
|
here</a>.
|
|
|
|
</p>
|
2002-05-18 09:35:39 +00:00
|
|
|
<p><a href="./antnews.html">Read more news about Ant</a></p>
|
2001-08-13 13:45:26 +00:00
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
2001-08-07 13:51:43 +00:00
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
2001-10-30 10:05:39 +00:00
|
|
|
<a name="Apache Ant"><strong>Apache Ant</strong></a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<p>
|
2002-03-27 00:10:00 +00:00
|
|
|
Apache Ant is a Java-based build tool. In theory, it is kind of like
|
|
|
|
Make, but without Make's wrinkles.
|
2001-08-07 13:51:43 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2002-03-27 00:10:00 +00:00
|
|
|
Why another build tool when there is already <em>make</em>, <em>gnumake</em>,
|
|
|
|
<em>nmake</em>, <em>jam</em>, and
|
|
|
|
others? Because all those tools have limitations that Ant's original author
|
2001-08-07 13:51:43 +00:00
|
|
|
couldn't live with when developing software across multiple platforms. Make-like
|
2002-03-27 00:10:00 +00:00
|
|
|
tools are inherently shell-based -- they evaluate a set of dependencies, then
|
|
|
|
execute commands not unlike what you would issue in a shell. This means that you
|
2001-08-07 13:51:43 +00:00
|
|
|
can easily extend these tools by using or writing any program for the OS that
|
|
|
|
you are working on. However, this also means that you limit yourself to the OS,
|
|
|
|
or at least the OS type such as Unix, that you are working on.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Makefiles are inherently evil as well. Anybody who has worked on them for any
|
|
|
|
time has run into the dreaded tab problem. "Is my command not executing
|
|
|
|
because I have a space in front of my tab!!!" said the original author of
|
|
|
|
Ant way too many times. Tools like Jam took care of this to a great degree, but
|
2002-03-27 00:10:00 +00:00
|
|
|
still have yet another format to use and remember.
|
2001-08-07 13:51:43 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2002-03-27 00:10:00 +00:00
|
|
|
Ant is different. Instead of a model where it is extended with shell-based
|
|
|
|
commands, Ant is extended using Java classes. Instead of writing shell commands,
|
|
|
|
the configuration files are XML-based, calling out a target tree where various
|
|
|
|
tasks get executed. Each task is run by an object that implements a particular
|
2001-08-07 13:51:43 +00:00
|
|
|
Task interface.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Granted, this removes some of the expressive power that is inherent by being
|
2002-03-27 00:10:00 +00:00
|
|
|
able to construct a shell command such as
|
|
|
|
<code>`find . -name foo -exec rm {}`</code>, but it
|
|
|
|
gives you the ability to be cross platform -- to work anywhere and everywhere.
|
|
|
|
And hey, if you really need to execute a shell command, Ant has an
|
|
|
|
<code><exec></code> task that
|
2001-08-07 13:51:43 +00:00
|
|
|
allows different commands to be executed based on the OS that it is executing
|
|
|
|
on.
|
|
|
|
</p>
|
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
|
|
|
<a name="Documentation"><strong>Documentation</strong></a>
|
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<p>
|
2002-05-06 13:56:53 +00:00
|
|
|
You can view the documentation for the current 1.5 Beta (Apache Ant 1.5Beta1)
|
2001-08-07 13:51:43 +00:00
|
|
|
<a href="manual/index.html">online</a>
|
|
|
|
</p>
|
|
|
|
<p>
|
2001-10-29 09:16:27 +00:00
|
|
|
Comprehensive documentation is included in the source and binary distributions.
|
2001-08-07 13:51:43 +00:00
|
|
|
</p>
|
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
|
|
|
<a name="Latest Release"><strong>Latest Release</strong></a>
|
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<p>
|
|
|
|
You can download the latest release:
|
|
|
|
</p>
|
|
|
|
<ul>
|
2001-10-11 13:44:42 +00:00
|
|
|
<li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/bin/">
|
2001-08-07 13:51:43 +00:00
|
|
|
Download the binary release</a></li>
|
2001-10-11 13:44:42 +00:00
|
|
|
<li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/src/">
|
2001-08-07 13:51:43 +00:00
|
|
|
Download the source release</a></li>
|
2001-10-11 13:44:42 +00:00
|
|
|
<li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/rpms/">
|
2001-08-07 13:51:43 +00:00
|
|
|
Download source and binary RPMs</a></li>
|
|
|
|
</ul>
|
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
|
|
|
<a name="Nightly Builds"><strong>Nightly Builds</strong></a>
|
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<p>
|
|
|
|
If you wish to use the latest Ant features, you can try downloading a nightly
|
2001-09-27 06:58:35 +00:00
|
|
|
build from <a href="http://www.apache.org/dist/jakarta/jakarta-ant/nightly/">here</a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</p>
|
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
|
|
|
<a name="Towards Ant2"><strong>Towards Ant2</strong></a>
|
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<p>
|
|
|
|
We are currently hashing out design details for Ant2. Please
|
|
|
|
read the latest <a href="antnews.html">Ant news</a> for more details.
|
|
|
|
</p>
|
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="2" width="100%">
|
|
|
|
<tr><td bgcolor="#525D76">
|
|
|
|
<font color="#ffffff" face="arial,helvetica,sanserif">
|
|
|
|
<a name="Get Involved"><strong>Get Involved</strong></a>
|
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
|
|
|
<ul>
|
|
|
|
<li><a href="http://jakarta.apache.org/getinvolved/getinvolvedindex.html">Get Involved</a></li>
|
|
|
|
<li><a href="http://jakarta.apache.org/getinvolved/mail.html">Join Mailing Lists</a></li>
|
|
|
|
<li><a href="http://marc.theaimsgroup.com/?l=ant-dev&r=1&w=2">Search the Dev Mailing List</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="http://marc.theaimsgroup.com/?l=ant-user&r=1&w=2">Search the User Mailing List</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<!-- FOOTER -->
|
|
|
|
<tr><td colspan="2">
|
|
|
|
<hr noshade="" size="1"/>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td colspan="2">
|
|
|
|
<div align="center"><font color="#525D76" size="-1"><em>
|
2002-01-10 11:21:21 +00:00
|
|
|
Copyright © 2000-2002, Apache Software Foundation
|
2001-08-07 13:51:43 +00:00
|
|
|
</em></font></div>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<!-- end the processing -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|