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>
|
2003-01-21 14:30:02 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
2001-08-07 13:51:43 +00:00
|
|
|
|
2003-01-21 14:30:02 +00:00
|
|
|
<meta name="author" content="Conor MacNeill">
|
|
|
|
<meta name="email" content="">
|
|
|
|
<meta name="author" content="Stefan Bodewig">
|
|
|
|
<meta name="email" content="stefan.bodewig@epost.de">
|
2001-08-07 13:51:43 +00:00
|
|
|
|
2002-12-11 08:37:49 +00:00
|
|
|
|
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">
|
2003-01-22 10:01:25 +00:00
|
|
|
<a href="http://jakarta.apache.org"><img src="images/jakarta-logo.gif" alt="The Apache Jakarta Project" border="0"></a>
|
2001-08-07 13:51:43 +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">
|
2003-01-21 14:30:02 +00:00
|
|
|
<hr noshade size="1"/>
|
2001-08-07 13:51:43 +00:00
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<!-- LEFT SIDE NAVIGATION -->
|
2003-01-21 14:30:02 +00:00
|
|
|
<td valign="top" nowrap>
|
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>
|
2002-12-10 12:13:35 +00:00
|
|
|
<li> <a href="./bindownload.cgi">Binary Distributions</a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</li>
|
2002-12-10 12:13:35 +00:00
|
|
|
<li> <a href="./srcdownload.cgi">Source Distributions</a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p><strong>Jakarta</strong></p>
|
|
|
|
<ul>
|
2003-01-21 14:30:02 +00:00
|
|
|
<li> <a href="http://jakarta.apache.org/site/news.html">News & Status</a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</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>
|
2003-01-21 14:30:02 +00:00
|
|
|
<li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a>
|
2002-09-23 12:13:11 +00:00
|
|
|
</li>
|
2003-01-21 14:30:02 +00:00
|
|
|
<li> <a href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Ant&short_desc=%5BPATCH%5D&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Reuse+same+sort+as+last+time">Patch Queue</a>
|
2001-08-07 13:51:43 +00:00
|
|
|
</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">
|
2002-10-03 14:37:00 +00:00
|
|
|
<a name="Ant 1.5.1"><strong>Ant 1.5.1</strong></a>
|
2002-05-01 20:02:15 +00:00
|
|
|
</font>
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
<blockquote>
|
2002-10-03 14:37:00 +00:00
|
|
|
<h3>Apache Ant 1.5.1 Released!</h3>
|
2002-12-10 16:55:51 +00:00
|
|
|
<p>Version 1.5.1 of Ant has been released. It is available for
|
|
|
|
download as <a href="bindownload.cgi">binary</a> or as <a href="srcdownload.cgi">source</a> distribution.</p>
|
2002-09-04 11:33:23 +00:00
|
|
|
</blockquote>
|
|
|
|
</td></tr>
|
2001-08-13 13:45:26 +00:00
|
|
|
</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-10-03 14:37:00 +00:00
|
|
|
You can view the documentation for the current release (Apache Ant 1.5.1)
|
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="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
|
2002-11-11 15:48:41 +00:00
|
|
|
build from <a href="http://cvs.apache.org/builds/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">
|
2003-01-21 14:35:00 +00:00
|
|
|
<hr noshade size="1"/>
|
2001-08-07 13:51:43 +00:00
|
|
|
</td></tr>
|
|
|
|
<tr><td colspan="2">
|
|
|
|
<div align="center"><font color="#525D76" size="-1"><em>
|
2003-01-06 07:48:45 +00:00
|
|
|
Copyright © 2000-2003, Apache Software Foundation
|
2001-08-07 13:51:43 +00:00
|
|
|
</em></font></div>
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<!-- end the processing -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|