Browse Source

Add test for Bootstrap failures

Simplify the build by using inheritAll="false"


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269472 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
1a9be7f6fb
6 changed files with 305 additions and 254 deletions
  1. +3
    -0
      build.bat
  2. +5
    -0
      build.sh
  3. +19
    -24
      build.xml
  4. +1
    -1
      webpage/build.xml
  5. +132
    -109
      webpage/docs/antnews.html
  6. +145
    -120
      webpage/docs/index.html

+ 3
- 0
build.bat View File

@@ -5,6 +5,9 @@ set REAL_ANT_HOME=%ANT_HOME%
set ANT_HOME=bootstrap set ANT_HOME=bootstrap
if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt
call bootstrap.bat call bootstrap.bat
if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt
echo Bootstrap FAILED
goto cleanup


:runAnt :runAnt
set LOCALCLASSPATH=lib\crimson.jar;lib\jaxp.jar;bootstrap\lib\ant.jar set LOCALCLASSPATH=lib\crimson.jar;lib\jaxp.jar;bootstrap\lib\ant.jar


+ 5
- 0
build.sh View File

@@ -8,6 +8,11 @@ if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/
/bin/sh ./bootstrap.sh /bin/sh ./bootstrap.sh
fi fi


if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then
echo Bootstrap FAILED
exit
fi

LOCALCLASSPATH=lib/crimson.jar:lib/jaxp.jar LOCALCLASSPATH=lib/crimson.jar:lib/jaxp.jar
# add in the dependency .jar files # add in the dependency .jar files
DIRLIBS=lib/optional/*.jar DIRLIBS=lib/optional/*.jar


+ 19
- 24
build.xml View File

@@ -68,21 +68,17 @@
--> -->
<property name="dist.name" value="jakarta-${name}-${version}"/> <property name="dist.name" value="jakarta-${name}-${version}"/>
<property name="dist.base" value="distribution"/> <property name="dist.base" value="distribution"/>
<property name="defaultdist.dir" value="dist"/>

<target name="setup-distproperties">

<property name="dist.dir" value="${defaultdist.dir}"/>
<property name="dist.bin" value="${dist.dir}/bin"/>
<property name="dist.lib" value="${dist.dir}/lib"/>
<property name="dist.docs" value="${dist.dir}/docs"/>
<property name="dist.javadocs" value="${dist.dir}/docs/manual/api"/>

<property name="src.dist.dir" value="dist-src"/>
<property name="src.dist.src" value="${src.dist.dir}/src"/>
<property name="src.dist.docs" value="${src.dist.dir}/docs"/>
<property name="src.dist.lib" value="${src.dist.dir}/lib"/>
</target>
<property name="dist.dir" value="dist"/>
<property name="dist.dir" value="${defaultdist.dir}"/>
<property name="dist.bin" value="${dist.dir}/bin"/>
<property name="dist.lib" value="${dist.dir}/lib"/>
<property name="dist.docs" value="${dist.dir}/docs"/>
<property name="dist.javadocs" value="${dist.dir}/docs/manual/api"/>

<property name="src.dist.dir" value="dist-src"/>
<property name="src.dist.src" value="${src.dist.dir}/src"/>
<property name="src.dist.docs" value="${src.dist.dir}/docs"/>
<property name="src.dist.lib" value="${src.dist.dir}/lib"/>


<!-- <!--
=================================================================== ===================================================================
@@ -295,7 +291,7 @@
=================================================================== ===================================================================
--> -->
<target name="dist-lite" <target name="dist-lite"
depends="jars, setup-distproperties"
depends="jars"
description="--> creates a minimum distribution to run ant"> description="--> creates a minimum distribution to run ant">


<mkdir dir="${dist.dir}"/> <mkdir dir="${dist.dir}"/>
@@ -334,7 +330,7 @@
=================================================================== ===================================================================
--> -->
<target name="dist" description="--> creates a complete distribution"> <target name="dist" description="--> creates a complete distribution">
<antcall target="internal_dist">
<antcall inheritAll="false" target="internal_dist">
<param name="dist.dir" value="${dist.name}" /> <param name="dist.dir" value="${dist.name}" />
</antcall> </antcall>
</target> </target>
@@ -390,7 +386,7 @@
=================================================================== ===================================================================
--> -->
<target name="bootstrap" description="--> creates a bootstrap build"> <target name="bootstrap" description="--> creates a bootstrap build">
<antcall target="dist-lite">
<antcall inheritAll="false" target="dist-lite">
<param name="dist.dir" value="${bootstrap.dir}" /> <param name="dist.dir" value="${bootstrap.dir}" />
</antcall> </antcall>
</target> </target>
@@ -402,7 +398,6 @@
=================================================================== ===================================================================
--> -->
<target name="src-dist" <target name="src-dist"
depends="setup-distproperties"
description="--> creates a source distribution"> description="--> creates a source distribution">


<mkdir dir="${src.dist.dir}" /> <mkdir dir="${src.dist.dir}" />
@@ -471,7 +466,7 @@
description="--> creates a binary distribution"> description="--> creates a binary distribution">
<mkdir dir="${dist.base}"/> <mkdir dir="${dist.base}"/>


<antcall target="internal_dist">
<antcall inheritAll="false" target="internal_dist">
<param name="dist.dir" value="${dist.name}" /> <param name="dist.dir" value="${dist.name}" />
</antcall> </antcall>
<zip zipfile="${dist.base}/${dist.name}-bin.zip" <zip zipfile="${dist.base}/${dist.name}-bin.zip"
@@ -498,7 +493,7 @@
<delete dir="${dist.name}" /> <delete dir="${dist.name}" />




<antcall target="src-dist">
<antcall inheritAll="false" target="src-dist">
<param name="src.dist.dir" value="${dist.name}" /> <param name="src.dist.dir" value="${dist.name}" />
</antcall> </antcall>
<zip zipfile="${dist.base}/${dist.name}-src.zip" <zip zipfile="${dist.base}/${dist.name}-src.zip"
@@ -555,13 +550,13 @@
=================================================================== ===================================================================
--> -->
<target name="install" if="ant.install"> <target name="install" if="ant.install">
<antcall target="internal_dist">
<antcall inheritAll="false" target="internal_dist">
<param name="dist.dir" value="${ant.install}" /> <param name="dist.dir" value="${ant.install}" />
</antcall> </antcall>
</target> </target>


<target name="install-lite" if="ant.install"> <target name="install-lite" if="ant.install">
<antcall target="dist-lite">
<antcall inheritAll="false" target="dist-lite">
<param name="dist.dir" value="${ant.install}" /> <param name="dist.dir" value="${ant.install}" />
</antcall> </antcall>
</target> </target>
@@ -722,7 +717,7 @@
--> -->
<target name="main" <target name="main"
description="--> creates a minimum distribution in ./dist"> description="--> creates a minimum distribution in ./dist">
<antcall target="dist-lite"/>
<antcall inheritAll="false" target="dist-lite"/>
</target> </target>
</project> </project>

+ 1
- 1
webpage/build.xml View File

@@ -28,7 +28,7 @@
</target> </target>


<target name="docs" depends="prepare-error" if="AnakiaTask.present"> <target name="docs" depends="prepare-error" if="AnakiaTask.present">
<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask" reverseloader="true">
<classpath refid="anakia.classpath"/> <classpath refid="anakia.classpath"/>
</taskdef> </taskdef>


+ 132
- 109
webpage/docs/antnews.html View File

@@ -4,36 +4,39 @@


<!-- start the processing --> <!-- start the processing -->
<!-- ====================================================================== -->
<!-- Main Page Section -->
<!-- ====================================================================== -->
<html> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="author" value="Conor MacNeill">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="author" value="Conor MacNeill">
<meta name="email" value="conor@cortexebusiness.com.au"> <meta name="email" value="conor@cortexebusiness.com.au">
<meta name="author" value="Stefan Bodewig">
<meta name="author" value="Stefan Bodewig">
<meta name="email" value="stefan.bodewig@epost.de"> <meta name="email" value="stefan.bodewig@epost.de">
<title>The Jakarta Site - Ant News</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76">
<table border="0" width="100%" cellspacing="0">
<!-- TOP IMAGE -->
<tr>
<td colspan="2">
<title>The Jakarta Site - Ant News</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76">
<table border="0" width="100%" cellspacing="0">
<!-- TOP IMAGE -->
<tr>
<td colspan="2">
<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a> <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
</td> </td>
</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">
<p><strong>Ant</strong></p>
</tr>
</table>
<table border="0" width="100%" cellspacing="4">
<tr><td colspan="2">
<hr noshade="" size="1"/>
</td></tr>
<tr>
<!-- LEFT SIDE NAVIGATION -->
<td width="20%" valign="top" nowrap="true">
<p><strong>Ant</strong></p>
<ul> <ul>
<li> <a href="./index.html">Front Page</a> <li> <a href="./index.html">Front Page</a>
</li> </li>
@@ -81,70 +84,76 @@
<li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a> <li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a>
</li> </li>
</ul> </ul>
</td>
<td align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="Ant Needs a Logo"><strong>Ant Needs a Logo</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>Ant still doesn't have a Logo, but it sure deserves one. We've
</td>
<td width="80%" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="Ant Needs a Logo"><strong>Ant Needs a Logo</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>Ant still doesn't have a Logo, but it sure deserves one. We've
put together a <a href="logos.html">page with proposed put together a <a href="logos.html">page with proposed
logos</a>, please take a look at them and tell us what you logos</a>, please take a look at them and tell us what you
think. If you have a nice logo idea yourself, just submit it to think. If you have a nice logo idea yourself, just submit it to
the mailing lists.</p> the mailing lists.</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="Ant 2.0 Requirements Collected - Next is Design"><strong>Ant 2.0 Requirements Collected - Next is Design</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>A commented version of the collected user requirements is now
</blockquote>
</p>
</td></tr>
<tr><td><br/></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="Ant 2.0 Requirements Collected - Next is Design"><strong>Ant 2.0 Requirements Collected - Next is Design</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>A commented version of the collected user requirements is now
available <a href="/ant/ant2/features.html">here</a> - it is not available <a href="/ant/ant2/features.html">here</a> - it is not
complete as some details still have to be defined, but it should complete as some details still have to be defined, but it should
give you an idea of what Ant2 is going to look like.</p> give you an idea of what Ant2 is going to look like.</p>
<p>Several details can only be decided in the light of real code
<p>Several details can only be decided in the light of real code
and prototypes. Several people are working on prototypes (that and prototypes. Several people are working on prototypes (that
can be found in Ant's CVS module in the proposals directory) and can be found in Ant's CVS module in the proposals directory) and
discussion is going on on the Ant-Dev mailing list.</p> discussion is going on on the Ant-Dev mailing list.</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="Best-Practices Profile of Ant at Sun's Dot-Com Builder"><strong>Best-Practices Profile of Ant at Sun's Dot-Com Builder</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>Sun has released an introductory article on Ant on their
</blockquote>
</p>
</td></tr>
<tr><td><br/></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="Best-Practices Profile of Ant at Sun's Dot-Com Builder"><strong>Best-Practices Profile of Ant at Sun's Dot-Com Builder</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>Sun has released an introductory article on Ant on their
Dot-Com Builder site on May 30 2001. See <a href="http://dcb.sun.com/practices/profiles/ant.jsp">http://dcb.sun.com/practices/profiles/ant.jsp</a></p> Dot-Com Builder site on May 30 2001. See <a href="http://dcb.sun.com/practices/profiles/ant.jsp">http://dcb.sun.com/practices/profiles/ant.jsp</a></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="Ant 2.0 Requirements"><strong>Ant 2.0 Requirements</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>Ant has been in use for quite some time and has been used in ways never conceived when it
</blockquote>
</p>
</td></tr>
<tr><td><br/></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="Ant 2.0 Requirements"><strong>Ant 2.0 Requirements</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>Ant has been in use for quite some time and has been used in ways never conceived when it
was originally written. While Ant 1.x has continued to sucessfully evolve and grow, there was originally written. While Ant 1.x has continued to sucessfully evolve and grow, there
are a number of limitations and inconsistencies that are now apparent and which need to are a number of limitations and inconsistencies that are now apparent and which need to
be addressed. be addressed.
</p> </p>
<p>
<p>
As we continue to evolve and enhance Ant 1.x, it is now time to define what Ant 2.0 will As we continue to evolve and enhance Ant 1.x, it is now time to define what Ant 2.0 will
encompass. Ant 2.0 will be a major rearchitecting of Ant. It has a number of goals including: encompass. Ant 2.0 will be a major rearchitecting of Ant. It has a number of goals including:
<ul> <ul>
@@ -158,7 +167,7 @@
It is expected that Ant 2.0 will break Ant 1.x based build files. The intention is to It is expected that Ant 2.0 will break Ant 1.x based build files. The intention is to
make this the last time that will happen. make this the last time that will happen.
</p> </p>
<p>
<p>
To advance the definition of Ant, user requirements are now being accepted on the To advance the definition of Ant, user requirements are now being accepted on the
Ant-Dev mailing list. Any requirement will be accepted for consideration. The Ant-Dev mailing list. Any requirement will be accepted for consideration. The
requirements are being collected into a document which is available requirements are being collected into a document which is available
@@ -166,58 +175,72 @@
until March 21st, 2001. At that time, each requirement will be discussed until March 21st, 2001. At that time, each requirement will be discussed
for inclusion in an Ant 2.0 requirement document. for inclusion in an Ant 2.0 requirement document.
</p> </p>
<p>
<p>
For your reference some of the goals which have shaped the development of Ant 1.x are For your reference some of the goals which have shaped the development of Ant 1.x are
available <a href="/ant/ant2/original-specification.html">here</a>. These continue to be available <a href="/ant/ant2/original-specification.html">here</a>. These continue to be
relevant to Ant 2.0. relevant to Ant 2.0.
</p> </p>
<p>
<p>
If you want to shape the future of Ant, join the If you want to shape the future of Ant, join the
<a href="/site/mail.html">Ant-Dev mailing list</a> and contribute <a href="/site/mail.html">Ant-Dev mailing list</a> and contribute
your ideas. your ideas.
</p> </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="Ant 1.3 Released"><strong>Ant 1.3 Released</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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="Ant 1.3 Released"><strong>Ant 1.3 Released</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
Ant 1.3 has been released after going through three betas. Thanks to everyone who Ant 1.3 has been released after going through three betas. Thanks to everyone who
took the time to test the beta and report bugs and enhancements. took the time to test the beta and report bugs and enhancements.
</p> </p>
<p>You can download the release from
<p>You can download the release from
<a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/">here</a>. <a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/">here</a>.
Both source and binary releases are available in zip, tarball and RPM formats. Both source and binary releases are available in zip, tarball and RPM formats.
</p> </p>
<p>Please report all bugs using the
<p>Please report all bugs using the
<a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant">Apache Bugzilla</a> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant">Apache Bugzilla</a>
</p> </p>
</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>
Copyright &#169; 1999-2001, Apache Software Foundation
</em></font></div>
</td></tr>
</table>
</body>
</html>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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>
Copyright &#169; 1999-2001, Apache Software Foundation
</em></font></div>
</td></tr>
</table>
</body>
</html>
<!-- end the processing --> <!-- end the processing -->



















+ 145
- 120
webpage/docs/index.html View File

@@ -4,36 +4,39 @@


<!-- start the processing --> <!-- start the processing -->
<!-- ====================================================================== -->
<!-- Main Page Section -->
<!-- ====================================================================== -->
<html> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="author" value="Conor MacNeill">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="author" value="Conor MacNeill">
<meta name="email" value="conor@cortexebusiness.com.au"> <meta name="email" value="conor@cortexebusiness.com.au">
<meta name="author" value="Stefan Bodewig">
<meta name="author" value="Stefan Bodewig">
<meta name="email" value="stefan.bodewig@epost.de"> <meta name="email" value="stefan.bodewig@epost.de">
<title>The Jakarta Site - Ant</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76">
<table border="0" width="100%" cellspacing="0">
<!-- TOP IMAGE -->
<tr>
<td colspan="2">
<title>The Jakarta Site - Ant</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76">
<table border="0" width="100%" cellspacing="0">
<!-- TOP IMAGE -->
<tr>
<td colspan="2">
<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a> <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
</td> </td>
</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">
<p><strong>Ant</strong></p>
</tr>
</table>
<table border="0" width="100%" cellspacing="4">
<tr><td colspan="2">
<hr noshade="" size="1"/>
</td></tr>
<tr>
<!-- LEFT SIDE NAVIGATION -->
<td width="20%" valign="top" nowrap="true">
<p><strong>Ant</strong></p>
<ul> <ul>
<li> <a href="./index.html">Front Page</a> <li> <a href="./index.html">Front Page</a>
</li> </li>
@@ -81,21 +84,21 @@
<li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a> <li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a>
</li> </li>
</ul> </ul>
</td>
<td align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="Ant"><strong>Ant</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
</td>
<td width="80%" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="Ant"><strong>Ant</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
Ant is a Java based build tool. In theory it is kind of like make without Ant is a Java based build tool. In theory it is kind of like make without
make's wrinkles. make's wrinkles.
</p> </p>
<p>
<p>
Why another build tool when there is already make, gnumake, nmake, jam, and Why another build tool when there is already make, gnumake, nmake, jam, and
others? Because all of those tools have limitations that Ant's original author others? Because all of those tools have limitations that Ant's original author
couldn't live with when developing software across multiple platforms. Make-like couldn't live with when developing software across multiple platforms. Make-like
@@ -105,21 +108,21 @@ 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, 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. or at least the OS type such as Unix, that you are working on.
</p> </p>
<p>
<p>
Makefiles are inherently evil as well. Anybody who has worked on them for any 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 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 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 Ant way too many times. Tools like Jam took care of this to a great degree, but
still use yet another format to use and remember. still use yet another format to use and remember.
</p> </p>
<p>
<p>
Ant is different. Instead of a model where it is extended with shell based Ant is different. Instead of a model where it is extended with shell based
commands, it is extended using Java classes. Instead of writing shell commands, commands, it is extended using Java classes. Instead of writing shell commands,
the configuration files are XML based calling out a target tree where various the configuration files are XML based calling out a target tree where various
tasks get executed. Each task is run by an object which implements a particular tasks get executed. Each task is run by an object which implements a particular
Task interface. Task interface.
</p> </p>
<p>
<p>
Granted, this removes some of the expressive power that is inherent by being Granted, this removes some of the expressive power that is inherent by being
able to construct a shell command such as `find . -name foo -exec rm {}` but it able to construct a shell command such as `find . -name foo -exec rm {}` but it
gives you the ability to be cross platform. To work anywhere and everywhere. And gives you the ability to be cross platform. To work anywhere and everywhere. And
@@ -127,39 +130,43 @@ hey, if you really need to execute a shell command, Ant has an exec rule that
allows different commands to be executed based on the OS that it is executing allows different commands to be executed based on the OS that it is executing
on. on.
</p> </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>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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>
You can view the documentation for the most recent release You can view the documentation for the most recent release
<a href="manual/index.html">online</a> <a href="manual/index.html">online</a>
</p> </p>
<p>
<p>
Comprehensive documentation is included in the source and binary distribtions. Comprehensive documentation is included in the source and binary distribtions.
</p> </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>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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: You can download the latest release:
</p> </p>
<ul>
<ul>
<li><a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/"> <li><a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/">
Download the binary release</a></li> Download the binary release</a></li>
<li><a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/src/"> <li><a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/src/">
@@ -167,48 +174,54 @@ Comprehensive documentation is included in the source and binary distribtions.
<li><a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/rpms/"> <li><a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/rpms/">
Download source and binary RPMs</a></li> Download source and binary RPMs</a></li>
</ul> </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>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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 If you wish to use the latest Ant features, you can try downloading a nightly
build from <a href="http://jakarta.apache.org/builds/jakarta-ant/nightly/">here</a> build from <a href="http://jakarta.apache.org/builds/jakarta-ant/nightly/">here</a>
</p> </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>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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 We are currently hashing out design details for Ant2. Please
read the latest <a href="antnews.html">Ant news</a> for more details. read the latest <a href="antnews.html">Ant news</a> for more details.
</p> </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>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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/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://jakarta.apache.org/getinvolved/mail.html">Join Mailing Lists</a></li>
<li><a href="http://marc.theaimsgroup.com/?l=ant-dev&amp;r=1&amp;w=2">Search the Dev Mailing List</a> <li><a href="http://marc.theaimsgroup.com/?l=ant-dev&amp;r=1&amp;w=2">Search the Dev Mailing List</a>
@@ -216,26 +229,38 @@ Comprehensive documentation is included in the source and binary distribtions.
<li><a href="http://marc.theaimsgroup.com/?l=ant-user&amp;r=1&amp;w=2">Search the User Mailing List</a> <li><a href="http://marc.theaimsgroup.com/?l=ant-user&amp;r=1&amp;w=2">Search the User Mailing List</a>
</li> </li>
</ul> </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>
Copyright &#169; 1999-2001, Apache Software Foundation
</em></font></div>
</td></tr>
</table>
</body>
</html>
</blockquote>
</p>
</td></tr>
<tr><td><br/></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>
Copyright &#169; 1999-2001, Apache Software Foundation
</em></font></div>
</td></tr>
</table>
</body>
</html>
<!-- end the processing --> <!-- end the processing -->



















Loading…
Cancel
Save