diff --git a/proposal/ant-site/anakia/build.xml b/proposal/ant-site/anakia/build.xml
index 64b090f63..62ca702df 100644
--- a/proposal/ant-site/anakia/build.xml
+++ b/proposal/ant-site/anakia/build.xml
@@ -43,23 +43,6 @@
templatePath="${templ.path}"
velocityPropertiesFile="${velocity.props}">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/proposal/ant-site/anakia/docs/LICENSE b/proposal/ant-site/anakia/docs/LICENSE
deleted file mode 100644
index 9cdfdea79..000000000
--- a/proposal/ant-site/anakia/docs/LICENSE
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 2000-2003 The Apache Software Foundation. All
- * rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Ant" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their name, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/proposal/ant-site/anakia/docs/ant15_todo.html b/proposal/ant-site/anakia/docs/ant15_todo.html
deleted file mode 100644
index 9e1acd25b..000000000
--- a/proposal/ant-site/anakia/docs/ant15_todo.html
+++ /dev/null
@@ -1,659 +0,0 @@
-
-
-
-
-
-
-
- Apache Ant - Ant 1.5 Release To-Do List
-
-
-
-
-
-
-
- It's documented, but more hidden than the other types
-
-
- Erik
-
-
-
-
- Novell NetWare support
-
-
-
-
-
- Jeff Tulley
-
-
-
-
- XMLCatalog more integrated
-
-
- Several tasks could still use XMLCatalog integration
-
-
-
-
-
-
-
- Make default excludes customizable
-
-
- With the setting of an ant.default.excludes property?
-
-
- Erik
-
-
-
-
- Fully functional on Java 1.4
-
-
- Fix outstanding java1.4 defects, maybe add an
- assertions datatype for java and other tasks (junit?)
- which lets people turn on asserts.
-
-
-
- Steve + any other help he can get
-
-
-
-
-
-
-
-
- Done
-
-
-
-
-
-
- Item
-
-
- Details
-
-
- Assigned
-
-
-
-
- Selectors
-
-
-
-
-
- Bruce
-
-
-
-
- Extension utilities
-
-
- Port across task that prints out details of extensions for
- a certain library/jar, or all jars in a path. Port across task
- that generates a manifest (including dependencies and extension
- specification) based on a set of jars in path. Port across task
- that checks that the list of pre-req extensions are present in
- path.
-
-
- Peter
-
-
-
-
- XmlLogger implements BuildLogger
-
-
- Its currently a BuildListener, lets remove the confusion
-
-
- Erik
-
-
-
-
- Dotnet library tweaks
-
-
- update to release, add uptodateness, add a web service
- import (for Axis interop testing)
-
-
- Steve, in a really long meeting
-
-
-
-
- compiler attribute for rmic
-
-
-
-
-
- Stefan
-
-
-
-
- PGP signing task if possible
-
-
- Not done, but deemed impossible - at least in the 1.5
- time frame.
-
-
- Stefan
-
-
-
-
- JUnit's System.err/.out handling
-
-
- showoutput attribute has been added - doesn't work in
- some cases yet (same reason as bug PR 7980)
-
-
- Stefan
-
-
-
-
- Base compiler command line switches on the selected
- compiler, not the current JDK
-
-
-
-
-
- Stefan
-
-
-
-
- <input>
-
-
-
-
-
- Stefan
-
-
-
-
- Make javadoc a real directory based task
-
-
-
-
-
- Stefan
-
-
-
-
-
-
-
-
- Bug Reports Short-Cuts
-
-
-
-
Note: You can sort the report results by clicking on the column-headings.
The final version of Ant 1.5.1 is now available for
-
- download. If you have any feedback on this release, feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
The first beta version of Ant 1.5.1 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
July 15, 2002 - Fix for Cygwin problem in wrapper script available
-
The wrapper script of Ant 1.5 needs to be replaced with a new
- version for Cygwin users. See the FAQ for details.
-
July 10, 2002 - Ant 1.5 Released!
-
The final version of Ant 1.5 is now available for
-
- download. If you have any feedback on this release, feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
The third beta version of Ant 1.5 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
The second beta version of Ant 1.5 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
The first beta version of Ant 1.5 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
Apr 29, 2002: Ant wins Software Development magazine's
- 2002 Productivity Award.
-
-
- Ant has been awarded a 2002 Productivity Award by
- Software Development
- magazine. Read the
-
- press release for more information and the full list of winners.
-
Mar 26, 2002: Ant wins the JavaWorld Editors' Choice
- Award
-
-
- Ant has won the JavaWorld Editors' Choice Award for
- Most Useful Java Community-Developed Technology.
- Read the
- full article -- or jump directly to the bit about
- our award:)
- Java 1.4 has now been released by Sun. The latest Ant source supports
- the new assert statement in the compiler task via the source
- attribute. It also contains a compatibility fix needed for some ant tasks
- on Java 1.4 over Windows XP. If you have problems running Ant 1.4.1 on WinXP/Java 1.4,
- please use a recent build or compile your own version from the source tree.
-
A commented version of the collected user requirements is now
- available here - it is not
- complete as some details still have to be defined, but it should
- give you an idea of what Ant2 is going to look like.
-
Several details can only be decided in the light of real code
- and prototypes. Several people are working on prototypes (that
- can be found in Ant's CVS module in the proposals directory) and
- discussion is going on on the Ant-Dev mailing list.
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
- are a number of limitations and inconsistencies that are now apparent and which need to
- be addressed.
-
-
- 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:
-
-
-
Define the "contract" with build file writers to which Ant will be bound.
-
Define the "contract" between the Ant core and Task writers.
-
Make Ant more easily extendable by allowing additional tasks to be "dropped" in.
-
Allow Ant to function as a component to simplify integration with GUIs and IDEs.
-
Make Ant more regular and logical.
-
-
- 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.
-
-
- 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
- requirements are being collected into a document which is available
- on-line. New features will be excepted
- until March 21st, 2001. At that time, each requirement will be discussed
- for inclusion in an Ant 2.0 requirement document.
-
-
- For your reference some of the goals which have shaped the development of Ant 1.x are
- available here. These continue to be
- relevant to Ant 2.0.
-
-
- If you want to shape the future of Ant, join the
- Ant-Dev mailing list and contribute
- your ideas.
-
Use the links below to download a binary distribution of Ant from
-one of our mirrors. You must
-verify the integrity of the
-downloaded files using signatures downloaded from our main
-distribution directory.
-
Ant is distributed as zip, tar.gz and
-tar.bz2 archives - the contents are the same. Please
-note that the tar.* 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
-tar.
You are currently using [preferred]. If you encounter a
-problem with this mirror, please select another mirror. If all
-mirrors are failing, there are backup mirrors (at the end of
-the mirrors list) that should be available.
Older releases of Ant can be found here. Those
-releases are only provided as zip archives that can be
-extracted by jar xf archive.zip - we highly
-recommend to not use those releases but upgrade to Ant's latest release.
It is essential that you verify the integrity of the downloaded
-files using the PGP or MD5 signatures.
-
The PGP signatures can be verified using PGP or GPG. First
-download the KEYS
-as well as the asc signature file for the particular
-distribution. Make sure you get these files from the main distribution
-directory, rather than from a mirror. Then verify the signatures
-using
Alternatively, you can verify the MD5 signature on the files. A
-unix program called md5 or md5sum is
-included in many unix distributions. It is also available as part of
-GNU
-Textutils. Windows users can get binary md5 programs from here, here, or
-here.
-
We highly recommend to verify the PGP signature, though.
- Bruce Atherton (bruce at callenish.com - http://www.callenish.com/~bruce)
-
-Currently a Systems Architect with Avue Technologies, Bruce has been
-working with Java since version 1.0a2. He also claims to be one of the first
-people to mark up a FAQ with HTML, for a web browser of the distant past
-called Cello.
-
-
- Stephane Bailliez
-
-
- Stefan Bodewig (stefan.bodewig at epost.de)
-
-Stefan is a senior developer at BoST interactive, where he is mainly
-responsible for a rule based configurator system. He spends some
-time working on Open Source projects with Ant currently taking the
-biggest share of it.
-
- Conor MacNeill (conor at cortexebusiness.com.au)
-
-Conor is a senior developer at Cortex eBusiness, where he develops
-J2EE based systems. In his spare time he helps with the development of
-the Ant build tool. He is also serving as the Chairman of this PMC.
-
-
- Costin Monolache
-
-
-
- Sam Ruby
-
- (rubys at us.ibm.com)
-
-Sam takes a perverse pleasure in integrating disparate things. He is
-a member of the PHP group, Apache
-XML PMC, Apache
-sponsor for the xml-soap subproject
-and convener of ECMA TC39 TG3. He is
-also serving as the Chairman of the Jakarta PMC.
-
-
- Jon Skeet
-
-
- Magesh Umasankar (umagesh at apache.org)
-
-Magesh is a lead software developer at
-Manugistics, where
-he is responsible for some of the Revenue Optimization
-solutions.
-
-
- Christoph Wilhelms (christoph.wilhelms at t-online.de)
-
-Christoph is teamleader and a lead software engineer at
-IMPRESS SOFTWARE. He is resposible for
-the development of administration tools and development environment for
-the IMPRESS Engine, a Java-based intergration software. At the Ant-Project
-he takes care of Antidote - the Ant GUI.
-
-
-
-
-
-
- Emeritus Members
-
-
-
-
- James Duncan Davidson (duncan at x180.net - http://x180.net/)
-
-
-By day, Duncan works in the Open Source Program Office at Sun
-Microsystems where he helps various Open Source efforts within Sun
-"do the right thing". Previously at Sun he was responsible
-for the Servlet API Specifications 2.1 and 2.2 as well as the Java API
-for XML Parsing 1.0 and was the original author of Tomcat and Ant. He
-was one of the rabble-rousers within Sun that helped make the Jakarta
-Project a reality and served as the first Chairman of the Jakarta PMC.
-
- Peter Donald (peter at apache.org)
-
-
-Peter is an avid java developer who is active in the
-Avalon and
-Ant projects.
-In his spare time he develops a distributed virtual environment
-(ie military simulator or 3D game) using java technologies.
-
-
- Danno Ferrin (shemnon at yahoo.com)
-
-Danno has been programming in Java since Summer 96. Danno wrote a JSP
-engine on his own and released it the very same day Jakarta was
-announced at JavaOne. Since then, he decided to join the Jakarta
-project in a spirit of co-operation over competition.
-
-
-
- Jason Hunter (jh at servlets.com)
-
-Jason is author of "Java Servlet Programming" (O'Reilly) and publisher
-of http://www.servlets.com/.
-He works at CollabNet.
-
-
- Arun Jamwal
-
-
-
- Arnout J. Kuiper (ajkuiper at planet.nl)
-
-
-Arnout J. Kuiper is a Java Architect with the Sun Java Center at Sun
-Microsystems. His main focus is web-related technologies on the Java
-platform (J2EE, XML, ...).
-
-
- Adam Murdoch
-
-
-
- Harish Prabhandham (harishp at onebox.com)
-
-Harish is an engineer with the J2EE team at Sun, primarily responsible
-for implementing security in the J2EE Reference Implementation
-(RI). He integrated various technologies including servlet/JSP
-implementations from Tomcat into the J2EE RI. These days, he hacks PHP
-code during the day.
-
-
- Nico Seessle
-
-
- Gal Shachor (shachor at il.ibm.com)
-
-Gal Shachor is a research staff member at IBM. He wrote his first
-Servlet container (ServletExpress) at the beginning of 1997. Later on
-ServletExpress (and Gal) merged into WebSphere, and Gal participated
-in the development of WebSphere 1, 2 and 3.
-
-
- Jon S. Stevens (jon at collab.net)
-
-
-Jon is a Co-Founder of Clear Ink
-Corp and recently left to work on Scarab a next generation Open
-Source Java Servlet based Issue/Bug tracking system for CollabNet. He is an active developer
-of the Apache JServ Servlet
-Engine for the Apache Web Server and Co-Author of the Element Construction Set as
-well as the web application framework, Turbine.
-
-
- James Todd (jwtodd at pacbell.net)
-
-James has developed real time customer oriented apps for roughly 10
-years the last 5 of which have predominately been fully integrated,
-front and back, extraNet implementations which have been based on
-Apache, Java and Tcl.
-
-
- Anil Vijendran (akv at eng.sun.com)
-
-Anil Vijendran is the principal developer of the JSP engine in
-Tomcat. He's done some pretty scary things in his past life --
-implementing the CORBA IDL to C++ 2.0 mapping, skydiving, IDL to Java
-compilers, Object Databases (SIGSEV, you da man!) for C++, Java ORB
-and EJB runtime environments -- in that order.
-
-
-
-
-
-
- Emeritus Committers
-
-
-
-
- Simeon H.K. Fitch (simeon.fitch at mseedsoft.com)
-
-Simeon is owner of Mustard Seed Software, which specializes in developing
-distributed applications and user interfaces for the science, engineering,
-and research oriented clients. He is the lead architect and developer for
-Antidote, the GUI for Ant.
-
-
- Thomas Haas
-
-
-
- Stefano Mazzocchi (stefano at apache.org)
-
-Stefano is addicted to software design, Java programming and
-open development. In the last 4 years, he has contributed way too much
-time to Apache, expecially on JServ, JMeter, Avalon, JAMES, Ant, Cocoon
-and helping to bring more projects into Apache-land, such as FOP, Batik,
-POI and Xindice. The problem is that he's too picky to be satisfied :-)
-
-
- Glenn McAllister (glenn at somanetworks.com)
-
-Glenn McAllister is a software developer at SOMA Networks, was formerly
-the same at IBM (plus tech writer plus build guy), and does some writing
-on the side for the VADD Technical Journal.
-
Anyone can checkout source code from our anonymous CVS
- server. To do so, simply use the following commands (if you are
- using a GUI CVS client, configure it appropriatly):
This page lists external resources for Apache Ant: tasks, IDE
- integration tools, loggers, you name it. If you've written
- something that should be included, please post all relevant
- information to one of the mailing lists. For details, see the
- FAQ.
-
Nothing listed here is directly supported by the Ant
- developers, if you encounter any problems with them, please use
- the contact information.
Anteater is a set of Ant tasks for the functional testing of websites
- and web services (functional testing being; hit a URL and ensure the
- response meets certain criteria). Can test HTTP params, response
- codes, XPath, regexp and Relax NG expressions. Includes HTML reporting
- (based on junitreport) and a hierarchical grouping system for quickly
- configuring large test scripts.
-
Checkstyle is a development tool to help programmers write
- Java code that adheres to a coding standard. Its purpose is to
- automate the process of checking Java code, and to spare
- humans of this boring (but important) task.
-
Checkstyle can be run via an Ant task or a command line
- utility.
Clover is an Ant-based Code Coverage tool. It can be used
- seamlessly with Ant-based projects. It provides method,
- statement, and branch coverage analysis, and has rich
- reporting in XML, HTML or via a Swing GUI.
- Commercial, free licenses available for open source
- projects.
-
-
-
-
-
-
-
-
- Configure
-
-
-
-
Recursive build support (call ant on every package level,
- and only build files in that package or in that package and
- everything below) with seperation of source and output.
-
The task generates build files in any subdirectory (except
- for CVS-directories) for you. Only place one build.xml file in
- the top and call target 'setup' or
- 'rescan'.
A little CVS client that can be useful when people are
- behind corporate firewall that blocks any cvs
- communications. It uses the ViewCVS web interface to access
- the CVS repository via standard http, and downloads all the
- files present in it.
Greebo is an Ant-task for downloading dependency files
- (currently only jars) from a network to a specified directory,
- much like Maven. It supports multiple local and remote
- repositories with either flat or maven-like structures. It can
- read the dependency list from a Maven project file, a
- maven-like dependency file, or directly from the build.xml
- file.
With Antenna, you can compile, preverify, package, and
- obfuscate your MIDP applications, as well as convert them to
- PRC files designed to run on MIDP for PalmOS. The tasks are
- mostly built around the Wireless Toolkit and the free
- RetroGuard obfuscator, with some additional gimmicks like
- automatic version numbering.
- Starting with release 1.0 Beta 6 the license is the
- BSD License. Prior releases were under the GNU General
- Public License.
-
-
-
-
-
-
-
-
- Java+ Precompile Task
-
-
-
-
Java+ is an open source Java preprocessorthat adds these
- features to any Java compiler:
-
-
Multi-line strings with executable inclusions like Perl
- and Ruby. It eliminates the need for JSP or ASP and their
- need for Java compilers on deployment servers (a security
- concern) while adding no overhead in either space or
- time.
-
-
Optionally supports localization by segregating Java+
- strings into ResourceBundle files with invarient keys based
- on the hash code of the strings's value. This is handled
- automatically and transparently; no intervention is
- required.
-
-
Fast. Negligible impact on build times. By default,
- skips inputs whose outputs are up to date to avoid
- triggering recompilations.
-
-
Pure Java code, portable to any platform, with
- graphical, shell and ant interfaces.
-
-
Simple, general, recursive, digraph-driven string
- syntax. Digraph characters are user-selectable.
A task to compile Java sources and manage class file
- dependencies. Functionality is equivalent to that of standard
- Javac and Depend tasks combined, with improved dependency
- checking.
JCSC is a Java Coding Standard Checker which also features
- the generation of some code metrics. It is a command line tool
- with an Ant task to scan whole package trees. The result can
- viewed in an JavaDoc style web page.
Validates XML files against the RELAX NG alternative to XML Schema.
- The Jing task for Ant allows you to efficiently validate
- multiple files against multiple RELAX NG patterns and integrate
- RELAX NG validation with other XML processing.
jMetra is a tool for collecting code metrics across a
- project lifecycle and compiling the results into
- JavaDoc-styled documentation to analyze project metrics over
- time. jMetra is best utilized by integrating it with your
- project's scheduled build process.
-
It works from the command line or using several provided
- Ant tasks.
- Commercial, free licenses for open source projects and
- evaluations.
-
-
-
-
-
-
-
-
- JNI
-
-
-
-
-
- JNI is a free toolkit that makes easy work of
- integrating Java and C through the Java Native
- Interface (JNI). It includes a code generator that
- generates both Java "proxy" classes to access C
- "peer" classes, and C "proxy" classes to access
- Java "peer" classes or interfaces. It also
- includes a core library with a simplified JVM
- interface as well as "helper" classes to ease
- working with the JNI data types. The code
- generation is driven by an XML project file that
- can be created with the assistance of the GUI
- Project Manager. The code generation can be
- invoked either from Ant or from the
- GUI. Includes a comprehensive printable PDF User
- Guide and plenty of examples.
JRun 4 SP1 ships with lib/jrun-ant-tasks.jar, which defines
- three Ant tasks: jrun, jrunapp, and jrunjmx. Documentation
- for the tasks can be found in JRun under
- docs/ant/jrun.html.
-
Note that the service pack must be installed on top of an
- existing JRun 4 installation.
A build-time architectural testing tool, designed
- to maintain clean layering / tiering / modularity.
- Macker works against compiled class files, checking
- dependencies between classes against a set of
- pattern-based access rules you specify for your
- project in an XML rules file. Macker doesn't presume
- anything about your architecture -- you write the
- rules, and Macker keeps you honest about them.
-
-
-
- Compatibility:
-
-
- Ant 1.5 and higher (1.4 untested but may work)
-
Purge deletes all but the most recent few files from a fileset.
- For example: if you have generated files (logs, .ear, .war, .jar
- etc) accumulating in a directory, the purge task will allow you
- to delete the older files, keeping just the most recent ones.
SerialVer adds the Java serialver functionality to Apache
- Ant. This project adds Tasks and FilterReaders to get, to
- insert and to modify the serialVersionUID in the source code
- of a serializable class.
The styler task makes useful combinations of XSLT transformations
- easy to specify in an Ant build file. Like the built-in Ant task
- style, styler can apply a single transformation to a set of XML files.
- But it can also:
-
-
handle multiple transformations, in parallel or pipelined.
-
enable transformations that split or merge files
-
process non-XML files, especially HTML (based on JTidy)
-
apply non-XSLT transformation, especially "regular
- fragmentations"
-
use any custom XMLReader or XMLFilter class to handle new file
- formats and transformation techniques.
Tim is a handy utility that can be executed on the command
- line or via Ant that automatically formats your import
- declarations. Tim is capable of removing unused imports,
- expanding or collapsing imports and even organising them into
- pre-determined groups.
-
- Venus Application Publisher's (Vamp) Ant Task Suite
-
-
-
-
Venus Application Publisher's (Vamp) Ant Task Suite allows
- you to sign and package your applications into relocatable Web
- Archives that you can drop into your web server for
- single-click launching using Java Web Start or into single
- Java Archive installers that serve up their content through a
- built-in, multi-threaded, ultra light-weight web server.
VPP provides general file preprocessing support based on
- the Velocity Template Engine. The core funtionality is
- provided as a filter for use with tasks that supports filter
- chains. Also included are replacement tasks for <copy> and
- <javac> that integrate support for preprocessing.
WOProject provides a set of tools to work with
- WebObjects 5.1
- independent from platform and IDE. It significantly
- improves developer productivity
- and makes complex project structures more flexible compared to
- traditional Makefile-based approach.
-
XDoclet is an extended Javadoc Doclet engine for use in Ant.
- It lets you create custom Javadoc @tags and based on those tags
- generates source code or other files (such as xml-ish deployment
- descriptors). Templates and matching tasks are provided to generate
- EJB and web application deployment descriptors.
-
XmlTask provides a simple means to modify XML documents
- without having to learn XSLT. A simple path reference to an
- XML node specifies the node you want to change, and how you
- want to allow XML insertion and removal, or attribute
- changes. The emphasis is on providing the simplest means to
- perform common XML replacements
yGuard is a free Java(TM) Bytecode Obfuscator Task that
- needs no external script or project files. It can completely
- be configured and run through the Ant build script. The task
- supports multiple Jar files at once and makes use of
- patternsets and regular expressions to specify elements, which
- should be left unobfuscated. Additionally it can be used to
- produce patches for obfuscated applications that have already
- been deployed.
miniRMI is a freeware opensource library that serves as a
- lightweight replacement for the original java.rmi packages and
- is suitable especially for applets. Ant 1.4+
- <rmic> adapter included.
- RadPak comes with the (free) HP Bluestone HPAS J2EE server, and is primarily
- a GUI tool for packaging and deploying java web and EJB applications
- as WAR and EAR files. The tool is ant based, and can be used with
- as a GUI for general ant development, providing form based entry
- of task attributes, and an animated display of task
- execution.
-
-
-
-
- Compatibility:
-
-
- bundles Ant 1.3 and docs; adds a jar of extra tasks
- to any existing ant installation under ANT_HOME
-
The page you are looking it is generated from
- this
- document. If you want to add a new question, please submit
- a patch against this document to one of Ant's mailing lists;
- hopefully, the structure is self-explanatory.
-
If you don't know how to create a patch, see the patches
- section of this
- page.
-
-
-
-
-
-
- How do you create the HTML version of this
- FAQ?
-
-
-
-
-
We use
- Anakia
- to render the HTML version from the original XML file.
-
The Velocity stylesheets used to process the XML files can
- be found in the xdocs/stylesheets subdirectory of
- Ant's CVS repository - the build file docs.xml is
- used to drive Anakia. This file assumes that you have the
- jakarta-site2 module checked out from CVS as
- well, but if you follow the instruction from Anakia's
- homepage, you should get it to work without that. Just make
- sure all required jars are in the task's classpath.
-
-
-
-
-
-
- What is Apache Ant?
-
-
-
-
-
Ant is a Java-based build tool. In theory, it is kind of
- like Make, without Make's wrinkles and with the full
- portability of pure Java code.
-
-
-
-
-
-
- Why do you call it Ant?
-
-
-
-
-
According to Ant's original author, James Duncan
- Davidson, the name is an acronym for "Another Neat
- Tool".
-
Later explanations go along the lines of "ants
- do an extremely good job at building things", or
- "ants are very small and can carry a weight dozens of times
- their own" - describing what Ant is intended to
- be.
-
-
-
-
-
-
- Tell us a little bit about Ant's history.
-
-
-
-
-
Initially, Ant was part of the Tomcat code base, when it was
- donated to the Apache Software Foundation. It was
- created by James Duncan Davidson, who is also the original
- author of Tomcat. Ant was there to build Tomcat, nothing
- else.
-
Soon thereafter, several open source Java projects realized
- that Ant could solve the problems they had with Makefiles.
- Starting with the projects hosted at Jakarta and the old Java
- Apache project, Ant spread like a virus and is now the build
- tool of choice for a lot of projects.
-
In January 2000, Ant was moved to a separate CVS module and
- was promoted to a project of its own, independent of
- Tomcat, and became Apache Ant.
-
The first version of Ant that was exposed to a larger audience
- was the one that shipped with Tomcat's 3.1 release on 19 April
- 2000. This version has later been referred to as Ant
- 0.3.1.
-
The first official release of Ant as a stand-alone product was
- Ant 1.1, released on 19 July 2000. The complete release
- history:
-
-
-
- Ant Version
-
-
- Release Date
-
-
-
-
- 1.1
-
-
- 19 July 2000
-
-
-
-
- 1.2
-
-
- 24 October 2000
-
-
-
-
- 1.3
-
-
- 3 March 2001
-
-
-
-
- 1.4
-
-
- 3 September 2001
-
-
-
-
- 1.4.1
-
-
- 11 October 2001
-
-
-
-
- 1.5
-
-
- 10 July 2002
-
-
-
-
- 1.5.1
-
-
- 3 October 2002
-
-
-
-
-
-
-
-
-
- I get checksum errors when I try to extract the
- tar.gz distribution file. Why?
-
-
-
-
-
Ant's distribution contains file names that are longer
- than 100 characters, which is not supported by the standard
- tar file format. Several different implementations of tar use
- different and incompatible ways to work around this
- restriction.
-
Ant's <tar> task can create tar archives that use
- the GNU tar extension, and this has been used when putting
- together the distribution. If you are using a different
- version of tar (for example, the one shipping with Solaris),
- you cannot use it to extract the archive.
-
The solution is to either install GNU tar, which can be
- found here,
- or use the zip archive instead (you can extract it using
- jar xf).
-
-
-
-
-
-
- How do I add an external task that I've written to the
- page "External Tools and Task"?
-
-
-
-
-
Join and post a message to the ant-dev or ant-user mailing
- list (one list is enough), including the following
- information:
-
-
the name of the task/tool
-
a short description of the task/tool
-
a Compatibility: entry stating with which version(s) of
- Ant the tool/task is compatible to
-
a URL: entry linking to the main page of the tool/task
-
a Contact: entry containing the email address or the URL
- of a webpage for the person or list to contact for issues
- related to the tool/task. Note that we'll add a
- link on the page, so any email address added there is not
- obfuscated and can (and probably will) be abused by robots
- harvesting websites for addresses to spam.
-
a License: entry containing the type of license for the
- tool/task
-
-
The preferred format for this information is a patch to this
- document.
-
-
-
-
-
-
- How do I pass parameters from the command line to my
- build file?
-
-
-
-
-
Use properties. Using ant
- -Dname=value lets you define values for
- properties on the Ant command line. These properties can then be
- used within your build file as
- any normal property: ${name} will put in
- value.
-
-
-
-
-
-
- How can I use Jikes-specific command-line
- switches?
-
-
-
-
-
A couple of switches are supported via "magic"
- properties:
-
-
-
- switch
-
-
- property
-
-
- default
-
-
-
-
- +E
-
-
- build.compiler.emacs
-
-
- false == not set
-
-
-
-
- +P
-
-
- build.compiler.pedantic
-
-
- false == not set
-
-
-
-
- +F
-
-
- build.compiler.fulldepend
-
-
- false == not set
-
-
-
-
- (Only for Ant < 1.4; replaced by the
- nowarn
- attribute of the <javac>
- task after that.) -nowarn
-
-
- build.compiler.warnings
-
-
- true == not set
-
-
-
-
With Ant >= 1.5, you can also use nested
- <compilerarg> elements with the
- <javac> task.
-
-
-
-
-
-
- How do I include a < character in my command-line arguments?
-
-
-
-
-
The short answer is "Use: <".
-
The long answer is that this probably won't do what you
- want anyway (see the next
- section).
-
-
-
-
-
-
- How do I redirect standard input or standard output
- in the <exec> task?
-
-
-
-
-
Say you want to redirect the standard input stream of the
- cat command to read from a file, something
- like:
Note that you must use the value attribute of
- <arg> in the last element, in order to have
- the command passed as a single, quoted argument. Alternatively,
- you can use:
Note the double-quotes nested inside the single-quotes.
-
-
-
-
-
-
- How do I execute a batch file or shell script from Ant?
-
-
-
-
-
On native Unix systems, you should be able to run shell scripts
- directly. On systems running a Unix-type shell (for example, Cygwin
- on Windows) execute the (command) shell instead - cmd
- for batch files, sh for shell scripts - then pass the
- batch file or shell script (plus any arguments to the script)
- as a single command, using the /c or
- -c switch, respectively. See
- the above section
- for example <exec> tasks
- executing sh. For batch files, use something like:
-
-
- I want to execute a particular target only if
- multiple conditions are true.
-
-
-
-
-
There are actually several answers to this question.
-
If you have only one set and one unset property to test,
- you can specify both an if and an unless
- attribute for the target, and they will act as if they
- are "anded" together.
-
If you are using a version of Ant 1.3 or earlier, the
- way to work with all other cases is to chain targets together
- to determine the specific state you want to test for.
-
To see how this works, assume you have three properties:
- prop1, prop2, and prop3.
- You want to test that prop1 and prop2
- are set, and that prop3 is not. If the condition
- holds true you want to echo "yes".
-
Here is the implementation in Ant 1.3 and earlier:
Note: <antcall> tasks do not pass
- property changes back up to the environment they were called
- from, so you would'nt be able to, for example, set a
- result property in the cond-if-3 target,
- then do
- <echo message="result is ${result}"/>
- in the cond target.
-
Starting with Ant 1.4, you can use the
- <condition> task.
If a property a has not been set,
- ${a} will evaluate to ${a}.
-
-
To get a literal $ in Ant, you have to
- escape it with another $ - this will also break
- the special treatment of the ${ sequence.
-
-
Because testing for a literal ${property} string
- isn't all that readable or easy to understand,
- post-1.4.1 Ant introduces the <isset> element
- to the <condition> task.
-
Here is the previous example done using
- <isset>:
The last option is to use a scripting language to set the
- properties. This can be particularly handy when you need much
- finer control than the simple conditions shown here but, of
- course, comes with the overhead of adding JAR files to support
- the language, to say nothing of the added maintenance in requiring
- two languages to implement a single system. See the
-
- <script> task documentation for more
- details.
-
-
-
-
-
-
- How can I include national characters like German
- umlauts in my build file?
-
-
-
-
-
You need to tell the XML parser which character encoding
- your build file uses, this is done inside the XML
- declaration.
-
By default the parser assumes you are using the UTF-8
- encoding instead of your platform's default. For most Western
- European countries you should set the encoding to
- ISO-8859-1. To do so, make the very first line
- of you build file read like
-
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-
-
-
-
-
-
-
- Why does Ant always recompile all my Java files?
-
-
-
-
-
In order to find out which files should be compiled, Ant
- compares the timestamps of the source files to those of the
- resulting .class files. Opening all source files
- to find out which package they belong to would be very
- inefficient. Instead, Ant expects you to place your
- source files in a directory hierarchy that mirrors your
- package hierarchy and to point Ant to the root of this
- directory tree with the srcdir attribute.
-
Say you have <javac srcdir="src"
- destdir="dest"/>. If Ant finds a file
- src/a/b/C.java, it expects it to be in package
- a.b so that the resulting .class
- file is going to be dest/a/b/C.class.
-
If your source-tree directory structure does not match your
- package structure, Ant's heuristic won't work, and
- it will recompile classes that are up-to-date. Ant is not the
- only tool that expects a source-tree layout like this.
-
If you have Java source files that aren't declared to
- be part of any package, you can still use the <javac>
- task to compile these files correctly - just set the
- srcdir and destdir attributes to
- the actual directory the source
- files live in and the directory the class files should go into,
- respectively.
-
-
-
-
-
-
- I've used a <delete> task to
- delete unwanted SourceSafe control files (CVS files, editor
- backup files, etc.), but it doesn't seem to work; the files
- never get deleted. What's wrong?
-
-
-
-
-
This is probably happening because, by default, Ant excludes
- SourceSafe control files (vssver.scc) and certain other
- files from FileSets.
For a complete listing of the patterns that are excluded
- by default, see the user
- manual.
-
-
-
-
-
-
- I have a target I want to skip if a property is set,
- so I have unless="property" as an attribute
- of the target, but all the targets this target
- depends on are still executed. Why?
-
-
-
-
-
The list of dependencies is generated by Ant before any of the
- targets are run. This allows dependent targets, such as an
- init target, to set properties that can control the
- execution of the targets higher in the dependency graph. This
- is a good thing.
-
However, when your dependencies break down the
- higher-level task
- into several smaller steps, this behaviour becomes
- counter-intuitive. There are a couple of solutions available:
-
-
-
Put the same condition on each of the dependent targets.
-
-
Execute the steps using <antcall>,
- instead of specifying them inside the depends
- attribute.
-
-
-
-
-
-
-
- In my <fileset>, I've put in an
- <exclude> of all files followed by an
- <include> of just the files I want, but it
- isn't giving me any files at all. What's wrong?
-
-
-
-
-
-
The order of the <include> and
- <exclude> tags within a <fileset>
- is ignored when the FileSet is created. Instead, all of the
- <include> elements are processed together,
- followed by all of the <exclude>
- elements. This means that the <exclude>
- elements only apply to the file list produced by the
- <include> elements.
-
To get the files you want, focus on just the
- <include> patterns that would be necessary
- to get them. If you find you need to trim the list that the
- <include> elements produce, then use
- <exclude> elements.
-
-
-
-
-
-
- ant failed to build my program via javac
- even when I put the needed jars in an external
- build.properties file and reference them by
- pathelement or classpath refid.
-
-
-
-
-
When ant loads properties from an external
- file it dosn't touch the value of properties, trailing blanks
- will not be trimmed for example.
-
If the value represents a file path, like a jar needed to
- compile, the task which requires the value, javac for example
- would fail to compile since it can't find the file due to
- trailing spaces.
-
-
-
-
-
-
- Ant creates WAR files with a lower-case
- web-inf or JAR files with a lower-case
- meta-inf directory.
-
-
-
-
-
No it doesn't.
-
You may have seen these lower-case directory names in
- WinZIP, but WinZIP is trying to be helpful (and fails). If
- WinZIP encounters a filename that is all upper-case, it
- assumes it has come from an old DOS box andchanges the case to
- all lower-case for you.
-
If you extract (or just check) the archive with jar, you
- will see that the names have the correct case.
Ant adds a "banner" with the name of the current
- task in front of all logging messages - and there are no built-in
- regular expressions in your editor that would account for
- this.
-
You can disable this banner by invoking Ant with the
- -emacs switch. To make Ant autodetect
- Emacs' compile mode, put this into your
- .antrc (contributed by Ville Skyttä).
Alternatively, you can add the following snippet to your
- .emacs to make Emacs understand Ant's
- output.
-
-(require 'compile)
-(setq compilation-error-regexp-alist
- (append (list
- ;; works for jikes
- '("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):\\([0-9]+\\):[0-9]+:[0-9]+:" 1 2 3)
- ;; works for javac
- '("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):" 1 2))
- compilation-error-regexp-alist))
-
-
Yet another alternative that preserves most of Ant's
- formatting is to pipe Ant's output through the following Perl
- script by Dirk-Willem van Gulik:
-
-#!/usr/bin/perl
-#
-# May 2001 dirkx@apache.org - remove any
-# [foo] lines from the output; keeping
-# spacing more or less there.
-#
-$|=1;
-while(<STDIN>) {
- if (s/^(\s+)\[(\w+)\]//) {
- if ($2 ne $last) {
- print "$1\[$2\]";
- $s = ' ' x length($2);
- } else {
- print "$1 $s ";
- };
- $last = $2;
- };
- print;
-};
-
-
-
-
-
-
-
- Is there a DTD that I can use to validate my build
- files?
-
-
-
-
-
An incomplete DTD can be created by the
- <antstructure> task - but this one
- has a few problems:
-
-
It doesn't know about required attributes. Only
- manual tweaking of this file can help here.
-
-
It is not complete - if you add new tasks via
- <taskdef> it won't know about it. See
- this
- page by Michel Casabianca for a solution to this
- problem. Note that the DTD you can download at this page
- is based on Ant 0.3.1.
-
-
It may even be an invalid DTD. As Ant allows tasks
- writers to define arbitrary elements, name collisions will
- happen quite frequently - if your version of Ant contains
- the optional <test> and
- <junit> tasks, there are two XML
- elements named test (the task and the nested child
- element of <junit>) with different attribute
- lists. This problem cannot be solved; DTDs don't give a
- syntax rich enough to support this.
-
-
-
-
-
-
-
- How do I include an XML snippet in my build file?
-
-
-
-
-
You can use XML's way of including external files and let
- the parser do the job for Ant:
will literally include the contents of common.xml where
- you've placed the &common; entity.
-
In combination with a DTD, this would look like this:
-
-<!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "file:./ant.dtd" [
- <!ENTITY include SYSTEM "file:./header.xml">
-]>
-
-
-
-
-
-
-
- How do I send an email with the result of my build
- process?
-
-
-
-
-
If you are using a nightly build of Ant 1.5 after
- 2001-12-14, you can use the built-in MailLogger:
-
- ant -logger org.apache.tools.ant.listener.MailLogger
-
-
See the Listeners
- & Loggers documentation for details on the properties
- required.
-
For older versions of Ant, you can use a custom
- BuildListener that sends out an email
- in the buildFinished() method. Will Glozer
- <will.glozer@jda.com> has written such a listener based
- on JavaMail.
- The source is:
-
-import java.io.*;
-import java.util.*;
-import javax.mail.*;
-import javax.mail.internet.*;
-import org.apache.tools.ant.*;
-
-/**
- * A simple listener that waits for a build to finish and sends an email
- * of the results. The settings are stored in "monitor.properties" and
- * are fairly self explanatory.
- *
- * @author Will Glozer
- * @version 1.05a 09/06/2000
- */
-public class BuildMonitor implements BuildListener {
- protected Properties props;
-
- /**
- * Create a new BuildMonitor.
- */
- public BuildMonitor() throws Exception {
- props = new Properties();
- InputStream is = getClass().getResourceAsStream("monitor.properties");
- props.load(is);
- is.close();
- }
-
- public void buildStarted(BuildEvent e) {
- }
-
- /**
- * Determine the status of the build and the actions to follow, now that
- * the build has completed.
- *
- * @param e Event describing the build status.
- */
- public void buildFinished(BuildEvent e) {
- Throwable th = e.getException();
- String status = (th != null) ? "failed" : "succeeded";
-
- try {
- String key = "build." + status;
- if (props.getProperty(key + ".notify").equalsIgnoreCase("false")) {
- return;
- }
-
- Session session = Session.getDefaultInstance(props, null);
-
- MimeMessage message = new MimeMessage(session);
- message.addRecipients(Message.RecipientType.TO, parseAddresses(
- props.getProperty(key + ".email.to")));
- message.setSubject(props.getProperty(key + ".email.subject"));
-
- BufferedReader br = new BufferedReader(new FileReader(
- props.getProperty("build.log")));
- StringWriter sw = new StringWriter();
-
- String line = br.readLine();
- while (line != null) {
- sw.write(line);
- sw.write("\n");
- line = br.readLine();
- }
- br.close();
-
- message.setText(sw.toString(), "UTF-8");
- sw.close();
-
- Transport transport = session.getTransport();
- transport.connect();
- transport.send(message);
- transport.close();
- } catch (Exception ex) {
- System.out.println("BuildMonitor failed to send email!");
- ex.printStackTrace();
- }
- }
-
- /**
- * Parse a comma separated list of internet email addresses.
- *
- * @param s The list of addresses.
- * @return Array of Addresses.
- */
- protected Address[] parseAddresses(String s) throws Exception {
- StringTokenizer st = new StringTokenizer(s, ",");
- Address[] addrs = new Address[st.countTokens()];
-
- for (int i = 0; i < addrs.length; i++) {
- addrs[i] = new InternetAddress(st.nextToken());
- }
- return addrs;
- }
-
- public void messageLogged(BuildEvent e) {
- }
-
- public void targetStarted(BuildEvent e) {
- }
-
- public void targetFinished(BuildEvent e) {
- }
-
- public void taskStarted(BuildEvent e) {
- }
-
- public void taskFinished(BuildEvent e) {
- }
-}
-
This is more accurate than just reading the same property
- files that your project does, since it will give the correct
- results for properties that were specified on the Ant command line.
-
-
-
-
-
-
- <chmod> or <exec> doesn't work in Ant
- 1.3 on Unix
-
-
-
-
-
The antRun script in ANT_HOME/bin
- has DOS instead of Unix line endings; you must remove the
- carriage-return characters from this file. This can be done by
- using Ant's <fixcrlf> task
- or something like:
-
-
- <style> or <junit> ignores my
- <classpath>
-
-
-
-
-
These tasks don't ignore your classpath setting, you
- are facing a common problem with delegating classloaders.
-
First of all let's state that Ant adds all
- .jar files from ANT_HOME/lib to
- CLASSPATH, therefore "in
- CLASSPATH" shall mean "either in your
- CLASSPATH environment variable or
- ANT_HOME/lib" for the rest of this
- answer.
-
This question collects a common type of problem: A task
- needs an external library and it has a nested classpath
- element so that you can point it to this external library, but
- that doesn't work unless you put the external library into the
- CLASSPATH.
-
The root of the problem is that the class that needs the
- external library is on the CLASSPATH.
-
When you specify a nested <classpath> in
- Ant, Ant creates a new class loader that uses the path you
- have specified. It then tries to load additional classes from
- this classloader.
-
In most cases - for example the two cases above - Ant
- doesn't load the external library directly, it is the loaded
- class that does so.
-
In the case of <junit> it is the task
- implementation itself and in the case of
- <style> it is the implementation of the
- org.apache.tools.ant.taskdefs.XSLTLiaison
- class.
The ClassLoader class uses a
- delegation model to search for classes and resources. Each
- instance of ClassLoader has an associated parent
- class loader. When called upon to find a class or resource, a
- ClassLoader instance will delegate the search for
- the class or resource to its parent class loader before
- attempting to find the class or resource itself. The virtual
- machine's built-in class loader, called the bootstrap
- class loader, does not itself have a parent but may serve as
- the parent of a ClassLoader
- instance.
-
This means, Ant's class loader will consult the
- bootstrap class loader first, which tries to load classes from
- CLASSPATH. The bootstrap class loader
- doesn't know anything about Ant's class loader or
- even the path you have specified.
-
If the bootstrap class loader can load the class Ant has
- asked it to load, this class will try to load the external
- library from CLASSPATH as well - it doesn't
- know anything else - and will not find it unless the library
- is in CLASSPATH as well.
-
To solve this, you have two major options:
-
-
put all external libraries you need in
- CLASSPATH as well this is not what you want,
- otherwise you wouldn't have found this FAQ entry.
-
-
remove the class that loads the external library from
- the CLASSPATH.
-
-
The easiest way to do this is to remove
- optional.jar from ANT_HOME/lib. If
- you do so, you will have to <taskdef> all
- optional tasks and use nested <classpath>
- elements in the <taskdef> tasks that point
- to the new location of optional.jar. Also,
- don't forget to add the new location of
- optional.jar to the
- <classpath> of your
- <style> or <junit>
- task.
-
If you want to avoid to <taskdef> all
- optional tasks you need, the only other option is to remove
- the classes that should not be loaded via the bootstrap class
- loader from optional.jar and put them into a
- separate archive. Add this separate archive to the
- <classpath> of your
- <style> or <junit> task
- - and make sure the separate archive is not in
- CLASSPATH.
-
In the case of <junit> you'd have
- to remove all classes that are in the
- org/apache/tools/ant/taskdefs/optional/junit
- directory, in the <style> case it is one of
- the *Liaison classes in
- org/apache/tools/ant/taskdefs/optional.
-
If you use the option to break up optional.jar
- for <junit>, you still have to use a
- <taskdef> with a nested
- <classpath> to define the junit task.
-
-
-
-
-
-
- When running Ant 1.4 on Windows XP and JDK 1.4, I get
- various errors when trying to <exec>, fork
- <java> or access environment
- variables.
-
-
-
-
-
Ant < 1.5 doesn't recognize Windows XP as a flavor
- of Windows that runs CMD.EXE instead of
- COMMAND.COM. JDK 1.3 will tell Ant that Windows
- XP is Windows 2000 so the problem doesn't show up
- there.
-
Apart from upgrading to Ant 1.5 or better, setting the
- environment variable ANT_OPTS to
- -Dos.name=Windows_NT prior to invoking Ant has
- been confirmed as a workaround.
-
-
-
-
-
-
- The ant wrapper script of Ant 1.5 fails
- for Cygwin if ANT_HOME is set to a Windows style
- path.
-
-
-
-
-
This problem has been reported only hours after Ant 1.5 has
- been released, see Bug
- 10664 and all it's duplicates.
-
A fixed version of the wrapper script can be found here.
- Simply replace your script with this version.
We are still in the process of defining the guidelines for this
- project - to get an idea what they may look like, we want to point
- you to the guidelines of the Jakarta
- and httpd
- projects as well as the work currently on the way at the Incubator project.
-Apache Ant is a Java-based build tool. In theory, it is kind of like
-Make, but without Make's wrinkles.
-
-
-Why another build tool when there is already make, gnumake,
-nmake, jam, and
-others? Because all those tools have limitations that Ant's original author
-couldn't live with when developing software across multiple platforms. Make-like
-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
-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.
-
-
-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
-still have yet another format to use and remember.
-
-
-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
-Task interface.
-
-
-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
-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
-<exec> task that
-allows different commands to be executed based on the OS that it is executing
-on.
-
Sun, Sun Microsystems, Solaris, Java, JavaServer Web
- Development Kit, and JavaServer Pages are trademarks or
- registered trademarks of Sun Microsystems, Inc. UNIX is a
- registered trademark in the United States and other countries,
- exclusively licensed through X/Open Company, Ltd. Windows,
- WindowsNT, and Win32 are registered trademarks of Microsoft
- Corp. All other product names mentioned herein and throughout
- the entire web site are trademarks of their respective
- owners.
/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 2000-2003 The Apache Software Foundation. All
- * rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Ant" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their name, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see <http://www.apache.org/>.
- *
- */
-
This list is for developers that are using Ant in their own
- projects to ask questions, share knowledge, and discuss issues
- related to using Ant as a build tool.
This is the list where participating developers of the Ant
- build tool meet and discuss issues, code changes/additions,
- etc. Subscribers to this list get notices of each and every
- code change, build results, testing notices, etc.
This is the board resolution (from the minutes)
- that created the Apache Ant project:
-
-7.D. Resolution [R3] to create the Ant PMC
-
-WHEREAS, the Board of Directors deems it to be in the best
-interests of the Foundation and consistent with the
-Foundation's purpose to establish a Project Management
-Committee charged with the creation and maintenance of
-open-source software related to the Apache Ant build tool, for
-distribution at no charge to the public.
-
-NOW, THEREFORE, BE IT RESOLVED, that a Project Management
-Committee (PMC), to be known as the "Apache Ant PMC", be and
-hereby is established pursuant to Bylaws of the Foundation; and
-be it further
-
-RESOLVED, that the Apache Ant PMC be and hereby is responsible
-for the creation and maintenance of the Ant build system and
-related software components, based on software licensed to the
-Foundation; and be it further
-
-RESOLVED, that the office of "Vice President, Apache Ant" be
-and hereby is created, the person holding such office to serve
-at the direction of the Board of Directors as the chair of the
-Apache Ant PMC, and to have primary responsibility for
-management of the projects within the scope of responsibility
-of the Apache Ant PMC; and be it further
-
-RESOLVED, that the persons listed immediately below be and
-hereby are appointed to serve as the initial members of the
-Apache Ant PMC:
-
- Bruce Atherton
- Stefane Bailliez
- Stefan Bodewig
- Erik Hatcher
- Diane Holt
- Donald Leslie
- Steve Loughran
- Conor MacNeill
- Costin Manolache
- Sam Ruby
- Jon Skeet
- Magesh Umasankar
- Christoph Wilhelms
-
-NOW, THEREFORE, BE IT FURTHER RESOLVED, that Conor MacNeill be
-and hereby is appointed to the office of Vice President, Apache
-Ant, to serve in accordance with and subject to the direction
-of the Board of Directors and the Bylaws of the Foundation
-until death, resignation, retirement, removal or
-disqualification, or until a successor is appointed; and be it
-further
-
-RESOLVED, that the initial Apache Ant PMC be and hereby is
-tasked with the creation of a set of bylaws intended to
-encourage open development and increased participation in the
-Apache Ant Project.
-
-By Unanimous Vote, Resolution R3 was approved. The Ant PMC is
-hereby created.
-
- This page details some steps you can take to try and resolve
- any problems you may be having with Ant. If you find you can't
- resolve the problem, then this page will help you collect some of
- the relevant information to provide in a bug report. This information
- will help the Ant developers understand and resolve the problem.
- Of course, not all the steps here will make sense for every problem
- you may encounter - these are just some suggestions to point
- you in the right direction.
-
-
-
-
-
-
- Read the Manual
-
-
-
-
- The first step to take when you have a problem with Ant is to read
- the manual entry for the task or
- concept that is giving you trouble. In particular, check the
- meaning of a task's attributes and nested elements. Perhaps an
- attribute is available that would provide the behavior you require.
- If you have problems with the manual itself, you can submit a
- documentation bug report (see below) to help us improve the Ant
- documentation.
-
-
-
-
-
-
- Examine Debug Output
-
-
-
-
- If you're still having a problem, the next step is to try and
- gather additional information about what Ant is doing.
- Try running Ant with the verbose flag:
-
- ant -verbose
-
- or
-
- ant -v
-
-
- This will produce output that starts like the following:
-
-
-
-
-Ant version 1.4.1 compiled on October 11 2001
-Buildfile: build.xml
-Detected Java version: 1.3 in: D:\usr\local\java\jdk13\jre
-Detected OS: Windows NT
-parsing buildfile D:\ant\build.xml
-with URI = file:D:/ant/build.xml
-Project base dir set to: D:\ant
- [property] Loading Environment env.
- [property] Loading D:\ant\conf.properties
-Build sequence for target 'debug' is [debug]
-Complete build sequence is [debug, gensrc, compile, jar, test]
-. . .
-
-
-
-
-
- You should be able to see from the trace more about what Ant
- is doing and why it's taking a particular course of action.
- If you need even more information, you can use the
- -debug flag rather than
- -verbose.
- This will generally produce so much
- output that you may want to save the output to a file and
- analyze it in an editor. You can save the output using the
- -logfile <filename> flag, or
- using redirection.
-
-
- Once you have all this debug information, how can you use it
- to solve your problem? That will depend on the task in question
- and the nature of your problem. Each task logs different aspects
- of its operation, but it should give you an idea of what is going
- on. For example, the <javac> task logs the
- reasons why it
- chooses to compile particular class files and not others, along
- with which compiler it is using and the arguments it will pass
- to that compiler. The following partial trace shows why
- <javac> is adding one class file but
- skipping another.
- This is followed by which compiler it will be using, the
- arguments that will get passed to the compiler,
- and a list of all the class files to be compiled.
-
-
-
-
-
-[javac] Test.java omitted as D:\classes\Test.class is up to date.
-[javac] Unset.java added as D:\classes\Unset.class is outdated.
-[javac] Compiling 1 source file to D:\classes
-[javac] Using classic compiler
-[javac] Compilation args: -d D:\classes -classpath D:\classes;
-D:\jdk118\classes.zip; -sourcepath D:\src\java -g:none
-[javac] File to be compiled:
-D:\src\java\Unset.java
-
-
-
-
-
- In many cases, Ant tasks are wrappers around OS commands or
- other Java classes. In debug mode, many of these tasks will
- print out the equivalent command line, as the
- <javac> task
- output does. If you are having a problem, it is often useful to
- run the command directly from the command line, in the same way
- Ant is running it, and see if the problem occurs from there
- as well. The problem may be in the command that is being run,
- or it may be in the way the Ant task is running the command.
- You can also see the effect of changing attribute values on the
- generated command line. This can help you to understand whether
- you are using the correct attributes and values.
-
-
-
-
-
-
- Has It Been Fixed?
-
-
-
-
- After examining the debug output, if you still believe that the
- problem you are having is caused by Ant, chances are that someone
- else may have already encountered this problem, and perhaps it has
- been fixed. The next step, therefore, may be to try a nightly build
- of Ant to see if the problem has been fixed. Nightly builds for Ant
- are available from the
-
- Ant web site. While Ant nightly builds are typically quite
- stable and are used by
- Gump
- to build many other Jakarta projects, these builds should
- nonetheless be treated as experimental. Note that nightly builds
- do not build many of the optional tasks the come with Ant.
- A snapshot of these optional tasks is occasionally uploaded to
- the nightly download
-
- area. However, even this snapshot does not contain every
- optional task.
-
-
-
-
-
-
- Has It Been Reported?
-
-
-
-
- If the current nightly build doesn't resolve your problem, it is
- possible that someone else has reported the issue. It is time to
- look at the
- Apache Bug Database. This system is easy to use, and it will
- let you search the
- currently open and resolved bugs to see if your problem has
- already been reported. If your problem has been reported, you can
- see whether any of the developers have commented, suggesting
- workarounds, or the reason for the bug, etc. Or you may have
- information to add (see about creating and modifying bug reports
- below), in which case, go right ahead and add the information.
- If you don't have any additional information, you may just want
- to vote for this bug, and perhaps
- add yourself to the CC list to follow the progress
- of this bug.
-
-
-
-
-
-
- Filing a Bug Report
-
-
-
-
- By this time, you may have decided that there is an unreported
- bug in Ant. You have a few choices at this point. You can send
- an email to the ant-user mailing list
- to see if
- others have encountered your issue and find out how they may
- have worked around it. If after some discussion, you feel it
- is time to create
- a bug report, this is a simple operation in the bug database.
- Please try to provide as much information as possible in order
- to assist the developers in resolving the bug. Please try to enter
- correct values for the various inputs when creating the bug, such
- as which version of Ant you are running, and on which platform,
- etc. Once the bug is created, you can also add attachments to
- the bug report.
-
-
- What information should you include in your bug report? The
- easiest bugs to fix are those that are most easily reproducible,
- so it is really helpful if you can produce a small test case that
- exhibits the problem. In this case, you would attach the build file
- and any other files necessary to reproduce the problem, probably
- packed together in an archive. If you can't produce a test case,
- you should try to include a snippet from your build file and the
- relevant sections from the verbose or debug output from Ant. Try
- to include the header information where Ant states the version,
- the OS and VM information, etc. As debug output is likely to be
- very large, it's best to remove any output that is not
- relevant. Once the bug is entered into the bug database, you
- will be kept informed by email about progress on the bug. If
- you receive email asking for further information, please try to
- respond, as it will aid in the resolution of your bug.
-
-
-
-
-
-
- Asking for an Enhancement
-
-
-
-
- Sometimes, you may find that Ant just doesn't do what you need it
- to. It isn't a bug, as such, since Ant is working the way it is
- supposed to work. Perhaps it is some additional functionality for
- a task that hasn't been thought of yet, or maybe a completely new
- task. For these situations, you will
- want to raise an enhancement request. Enhancement requests
- are managed using the same Apache Bug Database described above.
- These are just a different type of bug report. If you look in the
- bug database, you will see that one of the severity settings for
- a bug is "Enhancement". Just fill the bug report in,
- set the severity of the bug to "Enhancement", and
- state in the description how you would like to have Ant enhanced.
- Again, you should first check whether there are any existing
- enhancment requests that cover your needs. If so, just add your
- vote to these.
-
-
-
-
-
-
- Fixing the Bug
-
-
-
-
- If you aren't satisfied with just filing a bug report, you can
- try to find the cause of the problem and provide a fix yourself.
- The best way to do that is by working with the latest code from CVS.
- Alternatively, you can work with the source code available from the
-
- source distributions. If you
- are going to tackle the problem at this level, you may want to
- discuss some details first on the ant-dev
- mailing list. Once you have a fix for the problem, you may submit
- the fix as a patch to either the
- ant-dev mailing
- list, or enter the bug database as described above and attach the
- patch to the bug report. Using the bug database has the advantage
- of being able to track the progress of your patch.
-
-
- If you have a patch to submit and are sending it to the
- ant-dev mailing list,
- prefix "[PATCH]"
- to your message subject. Please include any relevant bug numbers.
- Patch files should be created with the -u
- option of the
- diff or cvs diff command. For
- example:
-
-
- Note: You should give your patch files meaningful names.
- This makes it easier for developers who need to apply a number
- of different patch files.
-
Nothing listed here is directly supported by the Ant
- developers, if you encounter any problems with them, please use
- the contact information.
-
-
-
-
-
- AntContrib
-
-
-
-
The Ant-Contrib project is a collection of user supplied
- task (like an <if> task) and a development
- playground for experimental tasks like a C/C++ compilation
- task for different compilers.
AntDoc is a tool that generates HTML documentation from Ant
- buildfiles; the generated HTML is inspired from what javadoc
- yields. It also offers a simple Ant target launcher named
- AntDoc GUI. Ant targets may be launched from the generated
- AntDoc HTML pages.
-
AntDoc can be run via an Ant task, AntDoc GUI can be run
- via an Ant task, or via a JVM launch.
- At the moment, no license is being attached to the tool.
-
-
-
-
-
-
-
-
- AntHill
-
-
-
-
Anthill is a build tool that promotes a controlled build
- process by ensuring that every build reflects the source
- repository contents and tagging the repository with a unique
- build number after every build. Anthill also encourages the
- sharing of knowledge within an organization by automatically
- updating a project intranet site with artifacts from the
- latest build.
-
-
-
- Compatibility:
-
-
- bundles Ant 1.3, is compatible with Ant 1.3 to 1.4.1
-
CruiseControl is a tool for setting up a continuous build
- process. CruiseControl provides an Ant wrapper and a set of
- tasks to automate the checkout/build/test cycle. CruiseControl
- also comes bundled with a servlet for viewing the status of
- the current build, as well as previous build results.
- Release 1.0 has been licensed under the GNU General Public
- License. Starting with release 1.1 the license has been
- changed to a BSD-like license.
-
-
-
-
-
-
-
-
- Krysalis Centipede
-
-
-
-
Krysalis Centipede is a project build system based on
- Apache Ant. Centipede uses pre-packaged modules called "cents"
- that it downloads and installs automatically. Cents can be
- used as Ant tasks or easy to use targets.
-
For example, Forrest is an XML standards oriented project
- documentation framework based on Apache Cocoon. In order to
- assist your projects adoption of this powerful documentation
- generation tool we have packaged it as a cent that will
- (optionally) be automatically downloaded, installed and used
- to build project documentation which includes output from
- other cents such as Javadoc, JDepend, Checkstyle and many
- others.
Rant stands for Remote Ant. It is a distributed build
- system that allows an Ant build file to launch builds on other
- systems and receive exceptions should they occur.
A German language short reference for Ant that covers Ant
- 1.4. This is the original description:
-
- Ant kurz & gut enth�lt eine vollst�ndige Referenz der Built-in Tasks
- und ihrer jeweiligen Attribute sowie kurze Beispiele f�r ihre Verwendung.
- Daneben bietet das Buch eine knappe Einf�hrung in die Arbeit mit Ant und
- eine Erl�uterung der Ant-Basiselemente (Projekte, Properties, Targets und Tasks).
- Behandelt werden au�erdem grundlegende Konzepte wie Filesets, Patternsets und
- Pfadstrukturen, das Schreiben eigener Tasks, die Aufruf-Syntax und Optional Tasks.
The following sections list articles and presentations written about Apache Ant. If
- you've written something that should be included, please post it to one
- of the mailing lists.
This article demonstrates an approach to the automated build and test process. Working with Ant 1.3 and the JUnit test framework, it shows how to automate a process that captures pertinent information about each test suite run, generates an attractive report, and e-mails the report.
-
- Incremental development with Ant and JUnit
-
-
-
-
This article explores the benefits of unit testing with Ant and
- JUnit, detailing how to develop automated unit tests and integrate them
- into your build process.
-
- Developing custom Ant tasks with VisualAge for Java
-
-
-
-
This article outlines how to integrate Ant into VisualAge for Java,
- and how to write and debug custom tasks using the IDE and the
- integrated debugger.
-
- Ant - presented to the Tucson Java Users Group
-
-
-
-
A PowerPoint technical overview presentation on Ant. Comes complete with a straightforward example demonstrating code compilation, JAR'ing, JUnit testing, JUnit reporting, and Zipping a distribution. A few advanced topics are touched upon like property immutabality and using <antcall> to get around it, build listeners, and writing custom tasks.
A detailed Ant 1.3 PowerPoint presentation, made at the St. Louis Java Users Group
- meeting in March 2001. Includes a detailed build file and basic
- descriptions of all the built in and optional tasks. Updated for Ant 1.4 in October 2001.
- Available in PDF format now.
Use the links below to download a source distribution of Ant from
-one of our mirrors. You must
-verify the integrity of the
-downloaded files using signatures downloaded from our main
-distribution directory.
-
Ant is distributed as zip, tar.gz and
-tar.bz2 archives - the contents are the same. Please
-note that the tar.* 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
-tar.
You are currently using [preferred]. If you encounter a
-problem with this mirror, please select another mirror. If all
-mirrors are failing, there are backup mirrors (at the end of
-the mirrors list) that should be available.
Older releases of Ant can be found here. Those
-releases are only provided as zip archives that can be
-extracted by jar xf archive.zip - we highly
-recommend to not use those releases but upgrade to Ant's latest release.
It is essential that you verify the integrity of the downloaded
-files using the PGP or MD5 signatures.
-
The PGP signatures can be verified using PGP or GPG. First
-download the KEYS
-as well as the asc signature file for the particular
-distribution. Make sure you get these files from the main distribution
-directory, rather than from a mirror. Then verify the signatures
-using
Alternatively, you can verify the MD5 signature on the files. A
-unix program called md5 or md5sum is
-included in many unix distributions. It is also available as part of
-GNU
-Textutils. Windows users can get binary md5 programs from here, here, or
-here.
-
We highly recommend to verify the PGP signature, though.
It's documented, but more hidden than the other types
-
Erik
-
-
-
-
Novell NetWare support
-
-
Jeff Tulley
-
-
-
-
XMLCatalog more integrated
-
Several tasks could still use XMLCatalog integration
-
-
-
-
-
Make default excludes customizable
-
With the setting of an ant.default.excludes property?
-
Erik
-
-
-
-
Fully functional on Java 1.4
-
Fix outstanding java1.4 defects, maybe add an
- assertions datatype for java and other tasks (junit?)
- which lets people turn on asserts.
-
-
Steve + any other help he can get
-
-
-
-
-
-
-
-
-
-
-
Item
-
Details
-
Assigned
-
-
-
-
Selectors
-
-
Bruce
-
-
-
-
Extension utilities
-
Port across task that prints out details of extensions for
- a certain library/jar, or all jars in a path. Port across task
- that generates a manifest (including dependencies and extension
- specification) based on a set of jars in path. Port across task
- that checks that the list of pre-req extensions are present in
- path.
-
Peter
-
-
-
XmlLogger implements BuildLogger
-
Its currently a BuildListener, lets remove the confusion
-
Erik
-
-
-
Dotnet library tweaks
-
update to release, add uptodateness, add a web service
- import (for Axis interop testing)
-
Steve, in a really long meeting
-
-
-
compiler attribute for rmic
-
-
Stefan
-
-
-
PGP signing task if possible
-
Not done, but deemed impossible - at least in the 1.5
- time frame.
-
Stefan
-
-
-
JUnit's System.err/.out handling
-
showoutput attribute has been added - doesn't work in
- some cases yet (same reason as bug PR 7980)
-
Stefan
-
-
-
Base compiler command line switches on the selected
- compiler, not the current JDK
-
-
Stefan
-
-
-
<input>
-
-
Stefan
-
-
-
Make javadoc a real directory based task
-
-
Stefan
-
-
-
-
-
-
Note: You can sort the report results by clicking on the column-headings.
The final version of Ant 1.5.1 is now available for
-
- download. If you have any feedback on this release, feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
-
-
-
-
August 19, 2002 - Ant 1.5.1 Beta1 Available !
-
The first beta version of Ant 1.5.1 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
-
-
-
-
July 15, 2002 - Fix for Cygwin problem in wrapper script available
-
The wrapper script of Ant 1.5 needs to be replaced with a new
- version for Cygwin users. See the FAQ for details.
-
-
July 10, 2002 - Ant 1.5 Released!
-
The final version of Ant 1.5 is now available for
-
- download. If you have any feedback on this release, feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
-
-
-
-
June 24, 2002 - Ant 1.5 Beta3 Available!
-
The third beta version of Ant 1.5 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
-
-
-
-
June 1, 2002 - Ant 1.5 Beta2 Available!
-
The second beta version of Ant 1.5 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
-
-
-
-
Ant 1.5 Beta1 Available !
-
The first beta version of Ant 1.5 is now available for
-
- download. If you have any feedback on the beta feel free to join the
- discussion on the ant-dev and ant-user mailing lists.
-
-
-
-
-
Apr 29, 2002: Ant wins Software Development magazine's
- 2002 Productivity Award.
-
-
- Ant has been awarded a 2002 Productivity Award by
- Software Development
- magazine. Read the
-
- press release for more information and the full list of winners.
-
-
-
-
-
Mar 26, 2002: Ant wins the JavaWorld Editors' Choice
- Award
-
-
-
- Ant has won the JavaWorld Editors' Choice Award for
- Most Useful Java Community-Developed Technology.
- Read the
- full article -- or jump directly to the bit about
- our award:)
-
-
-
-
Feb 15, 2002: Java 1.4 Support
-
- Java 1.4 has now been released by Sun. The latest Ant source supports
- the new assert statement in the compiler task via the source
- attribute. It also contains a compatibility fix needed for some ant tasks
- on Java 1.4 over Windows XP. If you have problems running Ant 1.4.1 on WinXP/Java 1.4,
- please use a recent build or compile your own version from the source tree.
-
A commented version of the collected user requirements is now
- available here - it is not
- complete as some details still have to be defined, but it should
- give you an idea of what Ant2 is going to look like.
-
-
Several details can only be decided in the light of real code
- and prototypes. Several people are working on prototypes (that
- can be found in Ant's CVS module in the proposals directory) and
- discussion is going on on the Ant-Dev mailing list.
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
- are a number of limitations and inconsistencies that are now apparent and which need to
- be addressed.
-
-
-
- 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:
-
-
-
Define the "contract" with build file writers to which Ant will be bound.
-
Define the "contract" between the Ant core and Task writers.
-
Make Ant more easily extendable by allowing additional tasks to be "dropped" in.
-
Allow Ant to function as a component to simplify integration with GUIs and IDEs.
-
Make Ant more regular and logical.
-
-
- 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.
-
-
-
- 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
- requirements are being collected into a document which is available
- on-line. New features will be excepted
- until March 21st, 2001. At that time, each requirement will be discussed
- for inclusion in an Ant 2.0 requirement document.
-
-
-
- For your reference some of the goals which have shaped the development of Ant 1.x are
- available here. These continue to be
- relevant to Ant 2.0.
-
-
-
- If you want to shape the future of Ant, join the
- Ant-Dev mailing list and contribute
- your ideas.
-
Use the links below to download a binary distribution of Ant from
-one of our mirrors. You must
-verify the integrity of the
-downloaded files using signatures downloaded from our main
-distribution directory.
-
-
Ant is distributed as zip, tar.gz and
-tar.bz2 archives - the contents are the same. Please
-note that the tar.* 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
-tar.
You are currently using [preferred]. If you encounter a
-problem with this mirror, please select another mirror. If all
-mirrors are failing, there are backup mirrors (at the end of
-the mirrors list) that should be available.
-
-
-
-
-
-
-
Currently, Apache Ant 1.5.1 is the best available version, see the
-release notes.
If you wish to use the latest Ant features, you can try downloading a
-nightly build.
-
-
-
-
-
-
-
Older releases of Ant can be found here. Those
-releases are only provided as zip archives that can be
-extracted by jar xf archive.zip - we highly
-recommend to not use those releases but upgrade to Ant's latest release.
-
-
-
-
-
-
It is essential that you verify the integrity of the downloaded
-files using the PGP or MD5 signatures.
-
-
The PGP signatures can be verified using PGP or GPG. First
-download the KEYS
-as well as the asc signature file for the particular
-distribution. Make sure you get these files from the main distribution
-directory, rather than from a mirror. Then verify the signatures
-using
Alternatively, you can verify the MD5 signature on the files. A
-unix program called md5 or md5sum is
-included in many unix distributions. It is also available as part of
-GNU
-Textutils. Windows users can get binary md5 programs from here, here, or
-here.
-
-
We highly recommend to verify the PGP signature, though.
-
-
-
-
-
diff --git a/proposal/ant-site/anakia/xdocs/breadcrumbs.js b/proposal/ant-site/anakia/xdocs/breadcrumbs.js
deleted file mode 100644
index f03dabb45..000000000
--- a/proposal/ant-site/anakia/xdocs/breadcrumbs.js
+++ /dev/null
@@ -1,257 +0,0 @@
-/*
-
- ============================================================================
- The Apache Software License, Version 1.1
- ============================================================================
-
- Copyright (C) 2002 The Apache Software Foundation. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without modifica-
- tion, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
- 3. The end-user documentation included with the redistribution, if any, must
- include the following acknowledgment: "This product includes software
- developed by the Apache Software Foundation (http://www.apache.org/)."
- Alternately, this acknowledgment may appear in the software itself, if
- and wherever such third-party acknowledgments normally appear.
-
- 4. The names "Jakarta", "Avalon", "Excalibur" and "Apache Software Foundation"
- must not be used to endorse or promote products derived from this software
- without prior written permission. For written permission, please contact
- apache@apache.org.
-
- 5. Products derived from this software may not be called "Apache", nor may
- "Apache" appear in their name, without prior written permission of the
- Apache Software Foundation.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- This software consists of voluntary contributions made by many individuals
- on behalf of the Apache Software Foundation. For more information on the
- Apache Software Foundation, please see .
-
-*/
-
-/**
- * This script, when included in a html file, builds a neat breadcrumb trail
- * based on its url. That is, if it doesn't contains bugs (I'm relatively
- * sure it does).
- *
- * Typical usage:
- *
- *
- *@author Leo Simons (main author)
- *@author Nicola Ken Barozzi (integration in skin)
- *@created July 12, 2002
- *@version 1.0
- */
-
-/* ========================================================================
- CONSTANTS
- ======================================================================== */
-
-/**
- * Two-dimensional array containing extra crumbs to place at the front of
- * the trail. Specify first the name of the crumb, then the URI that belongs
- * to it. You'll need to modify this for every domain or subdomain where
- * you use this script (you can leave it as an empty array if you wish)
- */
-var PREPREND_CRUMBS = new Array();
- if(!("apache"=="")){
- PREPREND_CRUMBS.push( new Array( "apache", "http://www.apache.org/" ) );
- }
- if(!("xml.apache"=="")){
- PREPREND_CRUMBS.push( new Array( "ant.apache", "http://ant.apache.org/" ) );
- }
- if(!(""=="")){
- PREPREND_CRUMBS.push( new Array( "", "" ) );
- }
-
-/**
- * String to include between crumbs:
- */
-var DISPLAY_SEPARATOR = " > ";
-/**
- * String to include at the beginning of the trail
- */
-var DISPLAY_PREPREND = "";
-/**
- * String to include at the end of the trail
- */
-var DISPLAY_POSTPREND = "";
-
-/**
- * CSS Class to use for a single crumb:
- */
-var CSS_CLASS_CRUMB = "breadcrumb";
-
-/**
- * CSS Class to use for the complete trail:
- */
-var CSS_CLASS_TRAIL = "breadcrumbTrail";
-
-/**
- * CSS Class to use for crumb separator:
- */
-var CSS_CLASS_SEPARATOR = "crumbSeparator";
-
-/**
- * Array of strings containing common file extensions. We use this to
- * determine what part of the url to ignore (if it contains one of the
- * string specified here, we ignore it).
- */
-var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
-
-/**
- * String that separates parts of the breadcrumb trail from each other.
- * When this is no longer a slash, I'm sure I'll be old and grey.
- */
-var PATH_SEPARATOR = "/";
-
-/* ========================================================================
- UTILITY FUNCTIONS
- ======================================================================== */
-/**
- * Capitalize first letter of the provided string and return the modified
- * string.
- */
-function sentenceCase( string )
-{
- var lower = string.toLowerCase();
- return lower.substr(0,1).toUpperCase() + lower.substr(1);
-}
-
-/**
- * Returns an array containing the names of all the directories in the
- * current document URL
- */
-function getDirectoriesInURL()
-{
- var trail = document.location.pathname.split( PATH_SEPARATOR );
-
- // check whether last section is a file or a directory
- var lastcrumb = trail[trail.length-1];
- for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
- {
- if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
- {
- // it is, remove it and send results
- return trail.slice( 1, trail.length-1 );
- }
- }
-
- // it's not; send the trail unmodified
- return trail.slice( 1, trail.length );
-}
-
-/* ========================================================================
- BREADCRUMB FUNCTIONALITY
- ======================================================================== */
-/**
- * Return a two-dimensional array describing the breadcrumbs based on the
- * array of directories passed in.
- */
-function getBreadcrumbs( dirs )
-{
- var prefix = "/";
- var postfix = "/";
-
- // the array we will return
- var crumbs = new Array();
-
- if( dirs != null )
- {
- for( var i = 0; i < dirs.length; i++ )
- {
- prefix += dirs[i] + postfix;
- crumbs.push( new Array( dirs[i], prefix ) );
- }
- }
-
- // preprend the PREPREND_CRUMBS
- if(PREPREND_CRUMBS.length > 0 )
- {
- return PREPREND_CRUMBS.concat( crumbs );
- }
-
- return crumbs;
-}
-
-/**
- * Return a string containing a simple text breadcrumb trail based on the
- * two-dimensional array passed in.
- */
-function getCrumbTrail( crumbs )
-{
- var xhtml = DISPLAY_PREPREND;
-
- for( var i = 0; i < crumbs.length; i++ )
- {
- xhtml += '';
- xhtml += sentenceCase( crumbs[i][0] ) + '';
- if( i != (crumbs.length-1) )
- {
- xhtml += DISPLAY_SEPARATOR;
- }
- }
-
- xhtml += DISPLAY_POSTPREND;
-
- return xhtml;
-}
-
-/**
- * Return a string containing an XHTML breadcrumb trail based on the
- * two-dimensional array passed in.
- */
-function getCrumbTrailXHTML( crumbs )
-{
- var xhtml = '';
- xhtml += DISPLAY_PREPREND;
-
- for( var i = 0; i < crumbs.length; i++ )
- {
- xhtml += '';
- xhtml += sentenceCase( crumbs[i][0] ) + '';
- if( i != (crumbs.length-1) )
- {
- xhtml += '' + DISPLAY_SEPARATOR + '';
- }
- }
-
- xhtml += DISPLAY_POSTPREND;
- xhtml += '';
-
- return xhtml;
-}
-
-/* ========================================================================
- PRINT BREADCRUMB TRAIL
- ======================================================================== */
-
-// check if we're local; if so, only print the PREPREND_CRUMBS
-if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 )
-{
- document.write( getCrumbTrail( getBreadcrumbs() ) );
-}
-else
-{
- document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) );
-}
-
diff --git a/proposal/ant-site/anakia/xdocs/contributors.xml b/proposal/ant-site/anakia/xdocs/contributors.xml
deleted file mode 100644
index 7c035a50f..000000000
--- a/proposal/ant-site/anakia/xdocs/contributors.xml
+++ /dev/null
@@ -1,278 +0,0 @@
-
-
-
- Contributors
-
-
-
-
-
-
-
-
- Bruce Atherton (bruce at callenish.com - http://www.callenish.com/~bruce)
-
-Currently a Systems Architect with Avue Technologies, Bruce has been
-working with Java since version 1.0a2. He also claims to be one of the first
-people to mark up a FAQ with HTML, for a web browser of the distant past
-called Cello.
-
-
-
- Stephane Bailliez
-
-
-
- Stefan Bodewig (stefan.bodewig at epost.de)
-
-Stefan is a senior developer at BoST interactive, where he is mainly
-responsible for a rule based configurator system. He spends some
-time working on Open Source projects with Ant currently taking the
-biggest share of it.
-
- Conor MacNeill (conor at cortexebusiness.com.au)
-
-Conor is a senior developer at Cortex eBusiness, where he develops
-J2EE based systems. In his spare time he helps with the development of
-the Ant build tool. He is also serving as the Chairman of this PMC.
-
-
-
- Costin Monolache
-
-
-
-
- Sam Ruby
-
- (rubys at us.ibm.com)
-
-Sam takes a perverse pleasure in integrating disparate things. He is
-a member of the PHP group, Apache
-XML PMC, Apache
-sponsor for the xml-soap subproject
-and convener of ECMA TC39 TG3. He is
-also serving as the Chairman of the Jakarta PMC.
-
-
-
- Jon Skeet
-
-
-
- Magesh Umasankar (umagesh at apache.org)
-
-Magesh is a lead software developer at
-Manugistics, where
-he is responsible for some of the Revenue Optimization
-solutions.
-
-
-
- Christoph Wilhelms (christoph.wilhelms at t-online.de)
-
-Christoph is teamleader and a lead software engineer at
-IMPRESS SOFTWARE. He is resposible for
-the development of administration tools and development environment for
-the IMPRESS Engine, a Java-based intergration software. At the Ant-Project
-he takes care of Antidote - the Ant GUI.
-
-
-
-
-
-
- James Duncan Davidson (duncan at x180.net - http://x180.net/)
-
-
-By day, Duncan works in the Open Source Program Office at Sun
-Microsystems where he helps various Open Source efforts within Sun
-"do the right thing". Previously at Sun he was responsible
-for the Servlet API Specifications 2.1 and 2.2 as well as the Java API
-for XML Parsing 1.0 and was the original author of Tomcat and Ant. He
-was one of the rabble-rousers within Sun that helped make the Jakarta
-Project a reality and served as the first Chairman of the Jakarta PMC.
-
-
-
-
-
-
-
-
-
-
- Preston Bannister
-
-
-
- Nick Davis
-
-
-
- Darrell DeBoer
-
-
-
- Peter Donald (peter at apache.org)
-
-
-Peter is an avid java developer who is active in the
-Avalon and
-Ant projects.
-In his spare time he develops a distributed virtual environment
-(ie military simulator or 3D game) using java technologies.
-
-
-
- Danno Ferrin (shemnon at yahoo.com)
-
-Danno has been programming in Java since Summer 96. Danno wrote a JSP
-engine on his own and released it the very same day Jakarta was
-announced at JavaOne. Since then, he decided to join the Jakarta
-project in a spirit of co-operation over competition.
-
-
-
-
- Jason Hunter (jh at servlets.com)
-
-Jason is author of "Java Servlet Programming" (O'Reilly) and publisher
-of http://www.servlets.com/.
-He works at CollabNet.
-
-
-
- Arun Jamwal
-
-
-
-
- Arnout J. Kuiper (ajkuiper at planet.nl)
-
-
-Arnout J. Kuiper is a Java Architect with the Sun Java Center at Sun
-Microsystems. His main focus is web-related technologies on the Java
-platform (J2EE, XML, ...).
-
-
-
- Adam Murdoch
-
-
-
-
- Harish Prabhandham (harishp at onebox.com)
-
-Harish is an engineer with the J2EE team at Sun, primarily responsible
-for implementing security in the J2EE Reference Implementation
-(RI). He integrated various technologies including servlet/JSP
-implementations from Tomcat into the J2EE RI. These days, he hacks PHP
-code during the day.
-
-
-
- Nico Seessle
-
-
-
- Gal Shachor (shachor at il.ibm.com)
-
-Gal Shachor is a research staff member at IBM. He wrote his first
-Servlet container (ServletExpress) at the beginning of 1997. Later on
-ServletExpress (and Gal) merged into WebSphere, and Gal participated
-in the development of WebSphere 1, 2 and 3.
-
-
-
- Jon S. Stevens (jon at collab.net)
-
-
-Jon is a Co-Founder of Clear Ink
-Corp and recently left to work on Scarab a next generation Open
-Source Java Servlet based Issue/Bug tracking system for CollabNet. He is an active developer
-of the Apache JServ Servlet
-Engine for the Apache Web Server and Co-Author of the Element Construction Set as
-well as the web application framework, Turbine.
-
-
-
- James Todd (jwtodd at pacbell.net)
-
-James has developed real time customer oriented apps for roughly 10
-years the last 5 of which have predominately been fully integrated,
-front and back, extraNet implementations which have been based on
-Apache, Java and Tcl.
-
-
-
- Anil Vijendran (akv at eng.sun.com)
-
-Anil Vijendran is the principal developer of the JSP engine in
-Tomcat. He's done some pretty scary things in his past life --
-implementing the CORBA IDL to C++ 2.0 mapping, skydiving, IDL to Java
-compilers, Object Databases (SIGSEV, you da man!) for C++, Java ORB
-and EJB runtime environments -- in that order.
-
-
-
-
-
- Simeon H.K. Fitch (simeon.fitch at mseedsoft.com)
-
-Simeon is owner of Mustard Seed Software, which specializes in developing
-distributed applications and user interfaces for the science, engineering,
-and research oriented clients. He is the lead architect and developer for
-Antidote, the GUI for Ant.
-
-
-
- Thomas Haas
-
-
-
-
- Stefano Mazzocchi (stefano at apache.org)
-
-Stefano is addicted to software design, Java programming and
-open development. In the last 4 years, he has contributed way too much
-time to Apache, expecially on JServ, JMeter, Avalon, JAMES, Ant, Cocoon
-and helping to bring more projects into Apache-land, such as FOP, Batik,
-POI and Xindice. The problem is that he's too picky to be satisfied :-)
-
-
-
- Glenn McAllister (glenn at somanetworks.com)
-
-Glenn McAllister is a software developer at SOMA Networks, was formerly
-the same at IBM (plus tech writer plus build guy), and does some writing
-on the side for the VADD Technical Journal.
-
Anyone can checkout source code from our anonymous CVS
- server. To do so, simply use the following commands (if you are
- using a GUI CVS client, configure it appropriatly):
If you are not familiar with CVS, Jakarta's
- CVS page may hold many helpful hints.
-
-
-
\ No newline at end of file
diff --git a/proposal/ant-site/anakia/xdocs/external.xml b/proposal/ant-site/anakia/xdocs/external.xml
deleted file mode 100644
index d3f025d21..000000000
--- a/proposal/ant-site/anakia/xdocs/external.xml
+++ /dev/null
@@ -1,1482 +0,0 @@
-
-
-
-
- Stefan Bodewig
- External Tools and Tasks
-
-
-
-
-
-
-
This page lists external resources for Apache Ant: tasks, IDE
- integration tools, loggers, you name it. If you've written
- something that should be included, please post all relevant
- information to one of the mailing lists. For details, see the
- FAQ.
-
-
Nothing listed here is directly supported by the Ant
- developers, if you encounter any problems with them, please use
- the contact information.
-
-
-
-
-
-
-
AspectJ is an
- aspect-oriented extension to Java. This task compiles a
- source tree using the AspectJ compiler -- AJC.
Anteater is a set of Ant tasks for the functional testing of websites
- and web services (functional testing being; hit a URL and ensure the
- response meets certain criteria). Can test HTTP params, response
- codes, XPath, regexp and Relax NG expressions. Includes HTML reporting
- (based on junitreport) and a hierarchical grouping system for quickly
- configuring large test scripts.
-
Checkstyle is a development tool to help programmers write
- Java code that adheres to a coding standard. Its purpose is to
- automate the process of checking Java code, and to spare
- humans of this boring (but important) task.
-
-
Checkstyle can be run via an Ant task or a command line
- utility.
Clover is an Ant-based Code Coverage tool. It can be used
- seamlessly with Ant-based projects. It provides method,
- statement, and branch coverage analysis, and has rich
- reporting in XML, HTML or via a Swing GUI.
Commercial, free licenses available for open source
- projects.
-
-
-
-
-
-
-
Recursive build support (call ant on every package level,
- and only build files in that package or in that package and
- everything below) with seperation of source and output.
-
-
The task generates build files in any subdirectory (except
- for CVS-directories) for you. Only place one build.xml file in
- the top and call target 'setup' or
- 'rescan'.
A little CVS client that can be useful when people are
- behind corporate firewall that blocks any cvs
- communications. It uses the ViewCVS web interface to access
- the CVS repository via standard http, and downloads all the
- files present in it.
Greebo is an Ant-task for downloading dependency files
- (currently only jars) from a network to a specified directory,
- much like Maven. It supports multiple local and remote
- repositories with either flat or maven-like structures. It can
- read the dependency list from a Maven project file, a
- maven-like dependency file, or directly from the build.xml
- file.
With Antenna, you can compile, preverify, package, and
- obfuscate your MIDP applications, as well as convert them to
- PRC files designed to run on MIDP for PalmOS. The tasks are
- mostly built around the Wireless Toolkit and the free
- RetroGuard obfuscator, with some additional gimmicks like
- automatic version numbering.
Starting with release 1.0 Beta 6 the license is the
- BSD License. Prior releases were under the GNU General
- Public License.
-
-
-
-
-
-
-
Java+ is an open source Java preprocessorthat adds these
- features to any Java compiler:
-
-
-
Multi-line strings with executable inclusions like Perl
- and Ruby. It eliminates the need for JSP or ASP and their
- need for Java compilers on deployment servers (a security
- concern) while adding no overhead in either space or
- time.
-
-
Optionally supports localization by segregating Java+
- strings into ResourceBundle files with invarient keys based
- on the hash code of the strings's value. This is handled
- automatically and transparently; no intervention is
- required.
-
-
Fast. Negligible impact on build times. By default,
- skips inputs whose outputs are up to date to avoid
- triggering recompilations.
-
-
Pure Java code, portable to any platform, with
- graphical, shell and ant interfaces.
-
-
Simple, general, recursive, digraph-driven string
- syntax. Digraph characters are user-selectable.
A task to compile Java sources and manage class file
- dependencies. Functionality is equivalent to that of standard
- Javac and Depend tasks combined, with improved dependency
- checking.
JCSC is a Java Coding Standard Checker which also features
- the generation of some code metrics. It is a command line tool
- with an Ant task to scan whole package trees. The result can
- viewed in an JavaDoc style web page.
Validates XML files against the RELAX NG alternative to XML Schema.
- The Jing task for Ant allows you to efficiently validate
- multiple files against multiple RELAX NG patterns and integrate
- RELAX NG validation with other XML processing.
jMetra is a tool for collecting code metrics across a
- project lifecycle and compiling the results into
- JavaDoc-styled documentation to analyze project metrics over
- time. jMetra is best utilized by integrating it with your
- project's scheduled build process.
-
-
It works from the command line or using several provided
- Ant tasks.
Commercial, free licenses for open source projects and
- evaluations.
-
-
-
-
-
-
-
-
- JNI is a free toolkit that makes easy work of
- integrating Java and C through the Java Native
- Interface (JNI). It includes a code generator that
- generates both Java "proxy" classes to access C
- "peer" classes, and C "proxy" classes to access
- Java "peer" classes or interfaces. It also
- includes a core library with a simplified JVM
- interface as well as "helper" classes to ease
- working with the JNI data types. The code
- generation is driven by an XML project file that
- can be created with the assistance of the GUI
- Project Manager. The code generation can be
- invoked either from Ant or from the
- GUI. Includes a comprehensive printable PDF User
- Guide and plenty of examples.
JRun 4 SP1 ships with lib/jrun-ant-tasks.jar, which defines
- three Ant tasks: jrun, jrunapp, and jrunjmx. Documentation
- for the tasks can be found in JRun under
- docs/ant/jrun.html.
-
-
Note that the service pack must be installed on top of an
- existing JRun 4 installation.
A build-time architectural testing tool, designed
- to maintain clean layering / tiering / modularity.
- Macker works against compiled class files, checking
- dependencies between classes against a set of
- pattern-based access rules you specify for your
- project in an XML rules file. Macker doesn't presume
- anything about your architecture -- you write the
- rules, and Macker keeps you honest about them.
Purge deletes all but the most recent few files from a fileset.
- For example: if you have generated files (logs, .ear, .war, .jar
- etc) accumulating in a directory, the purge task will allow you
- to delete the older files, keeping just the most recent ones.
SerialVer adds the Java serialver functionality to Apache
- Ant. This project adds Tasks and FilterReaders to get, to
- insert and to modify the serialVersionUID in the source code
- of a serializable class.
The styler task makes useful combinations of XSLT transformations
- easy to specify in an Ant build file. Like the built-in Ant task
- style, styler can apply a single transformation to a set of XML files.
- But it can also:
-
-
handle multiple transformations, in parallel or pipelined.
-
enable transformations that split or merge files
-
process non-XML files, especially HTML (based on JTidy)
-
apply non-XSLT transformation, especially "regular
- fragmentations"
-
use any custom XMLReader or XMLFilter class to handle new file
- formats and transformation techniques.
Tim is a handy utility that can be executed on the command
- line or via Ant that automatically formats your import
- declarations. Tim is capable of removing unused imports,
- expanding or collapsing imports and even organising them into
- pre-determined groups.
Venus Application Publisher's (Vamp) Ant Task Suite allows
- you to sign and package your applications into relocatable Web
- Archives that you can drop into your web server for
- single-click launching using Java Web Start or into single
- Java Archive installers that serve up their content through a
- built-in, multi-threaded, ultra light-weight web server.
VPP provides general file preprocessing support based on
- the Velocity Template Engine. The core funtionality is
- provided as a filter for use with tasks that supports filter
- chains. Also included are replacement tasks for <copy> and
- <javac> that integrate support for preprocessing.
WOProject provides a set of tools to work with
- WebObjects 5.1
- independent from platform and IDE. It significantly
- improves developer productivity
- and makes complex project structures more flexible compared to
- traditional Makefile-based approach.
-
XDoclet is an extended Javadoc Doclet engine for use in Ant.
- It lets you create custom Javadoc @tags and based on those tags
- generates source code or other files (such as xml-ish deployment
- descriptors). Templates and matching tasks are provided to generate
- EJB and web application deployment descriptors.
-
XmlTask provides a simple means to modify XML documents
- without having to learn XSLT. A simple path reference to an
- XML node specifies the node you want to change, and how you
- want to allow XML insertion and removal, or attribute
- changes. The emphasis is on providing the simplest means to
- perform common XML replacements
yGuard is a free Java(TM) Bytecode Obfuscator Task that
- needs no external script or project files. It can completely
- be configured and run through the Ant build script. The task
- supports multiple Jar files at once and makes use of
- patternsets and regular expressions to specify elements, which
- should be left unobfuscated. Additionally it can be used to
- produce patches for obfuscated applications that have already
- been deployed.
miniRMI is a freeware opensource library that serves as a
- lightweight replacement for the original java.rmi packages and
- is suitable especially for applets. Ant 1.4+
- <rmic> adapter included.
- RadPak comes with the (free) HP Bluestone HPAS J2EE server, and is primarily
- a GUI tool for packaging and deploying java web and EJB applications
- as WAR and EAR files. The tool is ant based, and can be used with
- as a GUI for general ant development, providing form based entry
- of task attributes, and an animated display of task
- execution.
-
-
-
-
-
Compatibility:
-
bundles Ant 1.3 and docs; adds a jar of extra tasks
- to any existing ant installation under ANT_HOME
The page you are looking it is generated from
- this
- document. If you want to add a new question, please submit
- a patch against this document to one of Ant's mailing lists;
- hopefully, the structure is self-explanatory.
-
-
If you don't know how to create a patch, see the patches
- section of this
- page.
-
-
-
-
- How do you create the HTML version of this
- FAQ?
-
-
-
We use
- Anakia
- to render the HTML version from the original XML file.
-
-
The Velocity stylesheets used to process the XML files can
- be found in the xdocs/stylesheets subdirectory of
- Ant's CVS repository - the build file docs.xml is
- used to drive Anakia. This file assumes that you have the
- jakarta-site2 module checked out from CVS as
- well, but if you follow the instruction from Anakia's
- homepage, you should get it to work without that. Just make
- sure all required jars are in the task's classpath.
-
-
-
-
-
-
-
- What is Apache Ant?
-
-
Ant is a Java-based build tool. In theory, it is kind of
- like Make, without Make's wrinkles and with the full
- portability of pure Java code.
-
-
-
-
- Why do you call it Ant?
-
-
-
According to Ant's original author, James Duncan
- Davidson, the name is an acronym for "Another Neat
- Tool".
-
-
Later explanations go along the lines of "ants
- do an extremely good job at building things", or
- "ants are very small and can carry a weight dozens of times
- their own" - describing what Ant is intended to
- be.
-
-
-
-
- Tell us a little bit about Ant's history.
-
-
-
Initially, Ant was part of the Tomcat code base, when it was
- donated to the Apache Software Foundation. It was
- created by James Duncan Davidson, who is also the original
- author of Tomcat. Ant was there to build Tomcat, nothing
- else.
-
-
Soon thereafter, several open source Java projects realized
- that Ant could solve the problems they had with Makefiles.
- Starting with the projects hosted at Jakarta and the old Java
- Apache project, Ant spread like a virus and is now the build
- tool of choice for a lot of projects.
-
-
In January 2000, Ant was moved to a separate CVS module and
- was promoted to a project of its own, independent of
- Tomcat, and became Apache Ant.
-
-
The first version of Ant that was exposed to a larger audience
- was the one that shipped with Tomcat's 3.1 release on 19 April
- 2000. This version has later been referred to as Ant
- 0.3.1.
-
-
The first official release of Ant as a stand-alone product was
- Ant 1.1, released on 19 July 2000. The complete release
- history:
-
-
-
-
Ant Version
-
Release Date
-
-
-
-
1.1
-
19 July 2000
-
-
-
-
1.2
-
24 October 2000
-
-
-
-
1.3
-
3 March 2001
-
-
-
-
1.4
-
3 September 2001
-
-
-
-
1.4.1
-
11 October 2001
-
-
-
-
1.5
-
10 July 2002
-
-
-
-
1.5.1
-
3 October 2002
-
-
-
-
-
-
-
-
-
- I get checksum errors when I try to extract the
- tar.gz distribution file. Why?
-
-
Ant's distribution contains file names that are longer
- than 100 characters, which is not supported by the standard
- tar file format. Several different implementations of tar use
- different and incompatible ways to work around this
- restriction.
-
-
Ant's <tar> task can create tar archives that use
- the GNU tar extension, and this has been used when putting
- together the distribution. If you are using a different
- version of tar (for example, the one shipping with Solaris),
- you cannot use it to extract the archive.
-
-
The solution is to either install GNU tar, which can be
- found here,
- or use the zip archive instead (you can extract it using
- jar xf).
-
-
-
-
-
-
- How do I add an external task that I've written to the
- page "External Tools and Task"?
-
-
-
Join and post a message to the ant-dev or ant-user mailing
- list (one list is enough), including the following
- information:
-
-
-
the name of the task/tool
-
a short description of the task/tool
-
a Compatibility: entry stating with which version(s) of
- Ant the tool/task is compatible to
-
a URL: entry linking to the main page of the tool/task
-
a Contact: entry containing the email address or the URL
- of a webpage for the person or list to contact for issues
- related to the tool/task. Note that we'll add a
- link on the page, so any email address added there is not
- obfuscated and can (and probably will) be abused by robots
- harvesting websites for addresses to spam.
-
a License: entry containing the type of license for the
- tool/task
-
-
-
The preferred format for this information is a patch to this
- document.
-
-
-
-
-
-
- How do I pass parameters from the command line to my
- build file?
-
-
-
Use properties. Using ant
- -Dname=value lets you define values for
- properties on the Ant command line. These properties can then be
- used within your build file as
- any normal property: ${name} will put in
- value.
-
-
-
-
-
- How can I use Jikes-specific command-line
- switches?
-
-
-
-
A couple of switches are supported via "magic"
- properties:
-
-
-
-
switch
-
property
-
default
-
-
-
-
+E
-
build.compiler.emacs
-
false == not set
-
-
-
-
+P
-
build.compiler.pedantic
-
false == not set
-
-
-
-
+F
-
build.compiler.fulldepend
-
false == not set
-
-
-
-
(Only for Ant < 1.4; replaced by the
- nowarn
- attribute of the <javac>
- task after that.) -nowarn
-
build.compiler.warnings
-
true == not set
-
-
-
-
-
With Ant >= 1.5, you can also use nested
- <compilerarg> elements with the
- <javac> task.
-
-
-
-
-
- How do I include a < character in my command-line arguments?
-
-
The short answer is "Use: <".
-
-
The long answer is that this probably won't do what you
- want anyway (see the next
- section).
-
-
-
-
- How do I redirect standard input or standard output
- in the <exec> task?
-
-
Say you want to redirect the standard input stream of the
- cat command to read from a file, something
- like:
-
- cat < foo
-]]>
-
-
and try to translate it into
-
-
-
-
-
-]]>
-
-
This will not do what you expect. The input redirection is
- performed by your shell, not the command itself, so this
- should read:
-
-
-
-
-
-]]>
-
-
Note that you must use the value attribute of
- <arg> in the last element, in order to have
- the command passed as a single, quoted argument. Alternatively,
- you can use:
-
-
-
-]]>
-
-
Note the double-quotes nested inside the single-quotes.
-
-
-
-
-
- How do I execute a batch file or shell script from Ant?
-
-
-
On native Unix systems, you should be able to run shell scripts
- directly. On systems running a Unix-type shell (for example, Cygwin
- on Windows) execute the (command) shell instead - cmd
- for batch files, sh for shell scripts - then pass the
- batch file or shell script (plus any arguments to the script)
- as a single command, using the /c or
- -c switch, respectively. See
- the above section
- for example <exec> tasks
- executing sh. For batch files, use something like:
-
-
-
-]]>
-
-
-
-
-
- I want to execute a particular target only if
- multiple conditions are true.
-
-
-
There are actually several answers to this question.
-
-
If you have only one set and one unset property to test,
- you can specify both an if and an unless
- attribute for the target, and they will act as if they
- are "anded" together.
-
-
If you are using a version of Ant 1.3 or earlier, the
- way to work with all other cases is to chain targets together
- to determine the specific state you want to test for.
-
-
To see how this works, assume you have three properties:
- prop1, prop2, and prop3.
- You want to test that prop1 and prop2
- are set, and that prop3 is not. If the condition
- holds true you want to echo "yes".
-
-
Here is the implementation in Ant 1.3 and earlier:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-]]>
-
-
Note: <antcall> tasks do not pass
- property changes back up to the environment they were called
- from, so you would'nt be able to, for example, set a
- result property in the cond-if-3 target,
- then do
- <echo message="result is ${result}"/>
- in the cond target.
-
-
Starting with Ant 1.4, you can use the
- <condition> task.
If a property a has not been set,
- ${a} will evaluate to ${a}.
-
-
To get a literal $ in Ant, you have to
- escape it with another $ - this will also break
- the special treatment of the ${ sequence.
-
-
-
Because testing for a literal ${property} string
- isn't all that readable or easy to understand,
- post-1.4.1 Ant introduces the <isset> element
- to the <condition> task.
-
-
Here is the previous example done using
- <isset>:
-
-
-
-
-
-
-
-
-
-
-
-
-]]>
-
-
The last option is to use a scripting language to set the
- properties. This can be particularly handy when you need much
- finer control than the simple conditions shown here but, of
- course, comes with the overhead of adding JAR files to support
- the language, to say nothing of the added maintenance in requiring
- two languages to implement a single system. See the
-
- <script> task documentation for more
- details.
-
-
-
-
- How can I include national characters like German
- umlauts in my build file?
-
-
-
You need to tell the XML parser which character encoding
- your build file uses, this is done inside the XML
- declaration.
-
-
By default the parser assumes you are using the UTF-8
- encoding instead of your platform's default. For most Western
- European countries you should set the encoding to
- ISO-8859-1. To do so, make the very first line
- of you build file read like
-
-
-]]>
-
-
-
-
-
-
- Why does Ant always recompile all my Java files?
-
-
-
In order to find out which files should be compiled, Ant
- compares the timestamps of the source files to those of the
- resulting .class files. Opening all source files
- to find out which package they belong to would be very
- inefficient. Instead, Ant expects you to place your
- source files in a directory hierarchy that mirrors your
- package hierarchy and to point Ant to the root of this
- directory tree with the srcdir attribute.
-
-
Say you have <javac srcdir="src"
- destdir="dest"/>. If Ant finds a file
- src/a/b/C.java, it expects it to be in package
- a.b so that the resulting .class
- file is going to be dest/a/b/C.class.
-
-
If your source-tree directory structure does not match your
- package structure, Ant's heuristic won't work, and
- it will recompile classes that are up-to-date. Ant is not the
- only tool that expects a source-tree layout like this.
-
-
If you have Java source files that aren't declared to
- be part of any package, you can still use the <javac>
- task to compile these files correctly - just set the
- srcdir and destdir attributes to
- the actual directory the source
- files live in and the directory the class files should go into,
- respectively.
-
-
-
-
-
-
- I've used a <delete> task to
- delete unwanted SourceSafe control files (CVS files, editor
- backup files, etc.), but it doesn't seem to work; the files
- never get deleted. What's wrong?
-
-
-
This is probably happening because, by default, Ant excludes
- SourceSafe control files (vssver.scc) and certain other
- files from FileSets.
-
-
Here's what you probably did:
-
-
-
-
-
-]]>
-
-
You need to switch off the default exclusions,
- and it will work:
-
-
-
-]]>
-
-
For a complete listing of the patterns that are excluded
- by default, see the user
- manual.
-
-
-
-
-
- I have a target I want to skip if a property is set,
- so I have unless="property" as an attribute
- of the target, but all the targets this target
- depends on are still executed. Why?
-
-
-
The list of dependencies is generated by Ant before any of the
- targets are run. This allows dependent targets, such as an
- init target, to set properties that can control the
- execution of the targets higher in the dependency graph. This
- is a good thing.
-
-
However, when your dependencies break down the
- higher-level task
- into several smaller steps, this behaviour becomes
- counter-intuitive. There are a couple of solutions available:
-
-
-
-
Put the same condition on each of the dependent targets.
-
-
Execute the steps using <antcall>,
- instead of specifying them inside the depends
- attribute.
-
-
-
-
-
-
- In my <fileset>, I've put in an
- <exclude> of all files followed by an
- <include> of just the files I want, but it
- isn't giving me any files at all. What's wrong?
-
-
-
-
The order of the <include> and
- <exclude> tags within a <fileset>
- is ignored when the FileSet is created. Instead, all of the
- <include> elements are processed together,
- followed by all of the <exclude>
- elements. This means that the <exclude>
- elements only apply to the file list produced by the
- <include> elements.
-
-
To get the files you want, focus on just the
- <include> patterns that would be necessary
- to get them. If you find you need to trim the list that the
- <include> elements produce, then use
- <exclude> elements.
-
-
-
-
- ant failed to build my program via javac
- even when I put the needed jars in an external
- build.properties file and reference them by
- pathelement or classpath refid.
-
-
-
-
When ant loads properties from an external
- file it dosn't touch the value of properties, trailing blanks
- will not be trimmed for example.
-
-
If the value represents a file path, like a jar needed to
- compile, the task which requires the value, javac for example
- would fail to compile since it can't find the file due to
- trailing spaces.
-
-
-
-
- Ant creates WAR files with a lower-case
- web-inf or JAR files with a lower-case
- meta-inf directory.
-
-
-
No it doesn't.
-
-
You may have seen these lower-case directory names in
- WinZIP, but WinZIP is trying to be helpful (and fails). If
- WinZIP encounters a filename that is all upper-case, it
- assumes it has come from an old DOS box andchanges the case to
- all lower-case for you.
-
-
If you extract (or just check) the archive with jar, you
- will see that the names have the correct case.
-
-
-
-
-
-
- Is Ant supported by my IDE/Editor?
-
-
Ant adds a "banner" with the name of the current
- task in front of all logging messages - and there are no built-in
- regular expressions in your editor that would account for
- this.
-
-
You can disable this banner by invoking Ant with the
- -emacs switch. To make Ant autodetect
- Emacs' compile mode, put this into your
- .antrc (contributed by Ville Skyttä).
-
-
-
-
Alternatively, you can add the following snippet to your
- .emacs to make Emacs understand Ant's
- output.
-
-
-
-
Yet another alternative that preserves most of Ant's
- formatting is to pipe Ant's output through the following Perl
- script by Dirk-Willem van Gulik:
-
- ) {
- if (s/^(\s+)\[(\w+)\]//) {
- if ($2 ne $last) {
- print "$1\[$2\]";
- $s = ' ' x length($2);
- } else {
- print "$1 $s ";
- };
- $last = $2;
- };
- print;
-};
-]]>
-
-
-
-
-
-
-
- Is there a DTD that I can use to validate my build
- files?
-
-
-
-
An incomplete DTD can be created by the
- <antstructure> task - but this one
- has a few problems:
-
-
-
It doesn't know about required attributes. Only
- manual tweaking of this file can help here.
-
-
It is not complete - if you add new tasks via
- <taskdef> it won't know about it. See
- this
- page by Michel Casabianca for a solution to this
- problem. Note that the DTD you can download at this page
- is based on Ant 0.3.1.
-
-
It may even be an invalid DTD. As Ant allows tasks
- writers to define arbitrary elements, name collisions will
- happen quite frequently - if your version of Ant contains
- the optional <test> and
- <junit> tasks, there are two XML
- elements named test (the task and the nested child
- element of <junit>) with different attribute
- lists. This problem cannot be solved; DTDs don't give a
- syntax rich enough to support this.
-
-
-
-
-
- How do I include an XML snippet in my build file?
-
-
You can use XML's way of including external files and let
- the parser do the job for Ant:
will literally include the contents of common.xml where
- you've placed the &common; entity.
-
-
In combination with a DTD, this would look like this:
-
-
-]>
-]]>
-
-
-
-
- How do I send an email with the result of my build
- process?
-
-
-
-
If you are using a nightly build of Ant 1.5 after
- 2001-12-14, you can use the built-in MailLogger:
-
-
-
-
See the Listeners
- & Loggers documentation for details on the properties
- required.
-
-
For older versions of Ant, you can use a custom
- BuildListener that sends out an email
- in the buildFinished() method. Will Glozer
- <will.glozer@jda.com> has written such a listener based
- on JavaMail.
- The source is:
-
-
-
-
-
- How do I get at the properties that Ant was running
- with from inside BuildListener?
-
-
-
You can get at a hashtable with all the properties that Ant
- has been using through the BuildEvent parameter. For
- example:
-
-
-
-
This is more accurate than just reading the same property
- files that your project does, since it will give the correct
- results for properties that were specified on the Ant command line.
-
-
-
-
-
-
-
- <chmod> or <exec> doesn't work in Ant
- 1.3 on Unix
-
-
-
The antRun script in ANT_HOME/bin
- has DOS instead of Unix line endings; you must remove the
- carriage-return characters from this file. This can be done by
- using Ant's <fixcrlf> task
- or something like:
-
-
-
-
- <style> or <junit> ignores my
- <classpath>
-
-
-
These tasks don't ignore your classpath setting, you
- are facing a common problem with delegating classloaders.
-
-
First of all let's state that Ant adds all
- .jar files from ANT_HOME/lib to
- CLASSPATH, therefore "in
- CLASSPATH" shall mean "either in your
- CLASSPATH environment variable or
- ANT_HOME/lib" for the rest of this
- answer.
-
-
This question collects a common type of problem: A task
- needs an external library and it has a nested classpath
- element so that you can point it to this external library, but
- that doesn't work unless you put the external library into the
- CLASSPATH.
-
-
The root of the problem is that the class that needs the
- external library is on the CLASSPATH.
-
-
When you specify a nested <classpath> in
- Ant, Ant creates a new class loader that uses the path you
- have specified. It then tries to load additional classes from
- this classloader.
-
-
In most cases - for example the two cases above - Ant
- doesn't load the external library directly, it is the loaded
- class that does so.
-
-
In the case of <junit> it is the task
- implementation itself and in the case of
- <style> it is the implementation of the
- org.apache.tools.ant.taskdefs.XSLTLiaison
- class.
The ClassLoader class uses a
- delegation model to search for classes and resources. Each
- instance of ClassLoader has an associated parent
- class loader. When called upon to find a class or resource, a
- ClassLoader instance will delegate the search for
- the class or resource to its parent class loader before
- attempting to find the class or resource itself. The virtual
- machine's built-in class loader, called the bootstrap
- class loader, does not itself have a parent but may serve as
- the parent of a ClassLoader
- instance.
-
-
This means, Ant's class loader will consult the
- bootstrap class loader first, which tries to load classes from
- CLASSPATH. The bootstrap class loader
- doesn't know anything about Ant's class loader or
- even the path you have specified.
-
-
If the bootstrap class loader can load the class Ant has
- asked it to load, this class will try to load the external
- library from CLASSPATH as well - it doesn't
- know anything else - and will not find it unless the library
- is in CLASSPATH as well.
-
-
To solve this, you have two major options:
-
-
-
put all external libraries you need in
- CLASSPATH as well this is not what you want,
- otherwise you wouldn't have found this FAQ entry.
-
-
remove the class that loads the external library from
- the CLASSPATH.
-
-
-
The easiest way to do this is to remove
- optional.jar from ANT_HOME/lib. If
- you do so, you will have to <taskdef> all
- optional tasks and use nested <classpath>
- elements in the <taskdef> tasks that point
- to the new location of optional.jar. Also,
- don't forget to add the new location of
- optional.jar to the
- <classpath> of your
- <style> or <junit>
- task.
-
-
If you want to avoid to <taskdef> all
- optional tasks you need, the only other option is to remove
- the classes that should not be loaded via the bootstrap class
- loader from optional.jar and put them into a
- separate archive. Add this separate archive to the
- <classpath> of your
- <style> or <junit> task
- - and make sure the separate archive is not in
- CLASSPATH.
-
-
In the case of <junit> you'd have
- to remove all classes that are in the
- org/apache/tools/ant/taskdefs/optional/junit
- directory, in the <style> case it is one of
- the *Liaison classes in
- org/apache/tools/ant/taskdefs/optional.
-
-
If you use the option to break up optional.jar
- for <junit>, you still have to use a
- <taskdef> with a nested
- <classpath> to define the junit task.
-
-
-
-
- When running Ant 1.4 on Windows XP and JDK 1.4, I get
- various errors when trying to <exec>, fork
- <java> or access environment
- variables.
-
-
-
-
Ant < 1.5 doesn't recognize Windows XP as a flavor
- of Windows that runs CMD.EXE instead of
- COMMAND.COM. JDK 1.3 will tell Ant that Windows
- XP is Windows 2000 so the problem doesn't show up
- there.
-
-
Apart from upgrading to Ant 1.5 or better, setting the
- environment variable ANT_OPTS to
- -Dos.name=Windows_NT prior to invoking Ant has
- been confirmed as a workaround.
-
-
-
-
- The ant wrapper script of Ant 1.5 fails
- for Cygwin if ANT_HOME is set to a Windows style
- path.
-
-
-
This problem has been reported only hours after Ant 1.5 has
- been released, see Bug
- 10664 and all it's duplicates.
-
-
A fixed version of the wrapper script can be found here.
- Simply replace your script with this version.
We are still in the process of defining the guidelines for this
- project - to get an idea what they may look like, we want to point
- you to the guidelines of the Jakarta
- and httpd
- projects as well as the work currently on the way at the Incubator project.
-
-
-
-
\ No newline at end of file
diff --git a/proposal/ant-site/anakia/xdocs/images/ant_logo_large.gif b/proposal/ant-site/anakia/xdocs/images/ant_logo_large.gif
deleted file mode 100644
index e99363b9f..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/ant_logo_large.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/current.gif b/proposal/ant-site/anakia/xdocs/images/current.gif
deleted file mode 100644
index af0f64fb2..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/current.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/group-logo.gif b/proposal/ant-site/anakia/xdocs/images/group-logo.gif
deleted file mode 100644
index de57d342c..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/group-logo.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/label.gif b/proposal/ant-site/anakia/xdocs/images/label.gif
deleted file mode 100644
index bc4cb5897..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/label.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/menu-left.gif b/proposal/ant-site/anakia/xdocs/images/menu-left.gif
deleted file mode 100644
index 0ca90471e..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/menu-left.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/menu-right.gif b/proposal/ant-site/anakia/xdocs/images/menu-right.gif
deleted file mode 100644
index 879c02806..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/menu-right.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/page.gif b/proposal/ant-site/anakia/xdocs/images/page.gif
deleted file mode 100644
index b0b394491..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/page.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/printer.gif b/proposal/ant-site/anakia/xdocs/images/printer.gif
deleted file mode 100644
index 5021187b0..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/printer.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/project-logo.gif b/proposal/ant-site/anakia/xdocs/images/project-logo.gif
deleted file mode 100644
index 5d9cd7f3a..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/project-logo.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/search-left.gif b/proposal/ant-site/anakia/xdocs/images/search-left.gif
deleted file mode 100644
index cb204461f..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/search-left.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/search-right.gif b/proposal/ant-site/anakia/xdocs/images/search-right.gif
deleted file mode 100644
index 100557317..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/search-right.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/spacer.gif b/proposal/ant-site/anakia/xdocs/images/spacer.gif
deleted file mode 100644
index 35d42e808..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/spacer.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/tab-left.gif b/proposal/ant-site/anakia/xdocs/images/tab-left.gif
deleted file mode 100644
index 1bfd75440..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/tab-left.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/tab-right.gif b/proposal/ant-site/anakia/xdocs/images/tab-right.gif
deleted file mode 100644
index 6803a8561..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/tab-right.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/tabSel-left.gif b/proposal/ant-site/anakia/xdocs/images/tabSel-left.gif
deleted file mode 100644
index 46abc4dd4..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/tabSel-left.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/images/tabSel-right.gif b/proposal/ant-site/anakia/xdocs/images/tabSel-right.gif
deleted file mode 100644
index 881f74c1d..000000000
Binary files a/proposal/ant-site/anakia/xdocs/images/tabSel-right.gif and /dev/null differ
diff --git a/proposal/ant-site/anakia/xdocs/index.xml b/proposal/ant-site/anakia/xdocs/index.xml
deleted file mode 100644
index f8811c90d..000000000
--- a/proposal/ant-site/anakia/xdocs/index.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
- Conor MacNeill
- Stefan Bodewig
- Welcome
-
-
-
-
-
-
Apache Ant 1.5.1 Released!
-
-
Version 1.5.1 of Ant has been released. It is available for
- download as binary or as source distribution.
-
-
-
-
-
-Apache Ant is a Java-based build tool. In theory, it is kind of like
-Make, but without Make's wrinkles.
-
-
-
-Why another build tool when there is already make, gnumake,
-nmake, jam, and
-others? Because all those tools have limitations that Ant's original author
-couldn't live with when developing software across multiple platforms. Make-like
-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
-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.
-
-
-
-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
-still have yet another format to use and remember.
-
-
-
-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
-Task interface.
-
-
-
-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
-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
-<exec> task that
-allows different commands to be executed based on the OS that it is executing
-on.
-
-
-
-
-
-
-
-You can view the documentation for the current release (Apache Ant 1.5.1)
-online
-
-
-
-Comprehensive documentation is included in the source and binary distributions.
-
-
-
-
-
-
- If you wish to use the latest Ant features, you can try downloading a nightly
- build from here
-
-
-
-
-
-
- We are currently hashing out design details for Ant2. Please
- read the latest Ant news for more details.
-
Sun, Sun Microsystems, Solaris, Java, JavaServer Web
- Development Kit, and JavaServer Pages are trademarks or
- registered trademarks of Sun Microsystems, Inc. UNIX is a
- registered trademark in the United States and other countries,
- exclusively licensed through X/Open Company, Ltd. Windows,
- WindowsNT, and Win32 are registered trademarks of Microsoft
- Corp. All other product names mentioned herein and throughout
- the entire web site are trademarks of their respective
- owners.
-
-
-
-
-
-
diff --git a/proposal/ant-site/anakia/xdocs/license.xml b/proposal/ant-site/anakia/xdocs/license.xml
deleted file mode 100644
index fb3189c77..000000000
--- a/proposal/ant-site/anakia/xdocs/license.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
- License
-
-
-
-
-
-
- /*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 2000-2003 The Apache Software Foundation. All
- * rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Ant" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their name, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see <http://www.apache.org/>.
- *
- */
-
-
This list is for developers that are using Ant in their own
- projects to ask questions, share knowledge, and discuss issues
- related to using Ant as a build tool.
This is the list where participating developers of the Ant
- build tool meet and discuss issues, code changes/additions,
- etc. Subscribers to this list get notices of each and every
- code change, build results, testing notices, etc.
-
-
-
-
-
\ No newline at end of file
diff --git a/proposal/ant-site/anakia/xdocs/mission.xml b/proposal/ant-site/anakia/xdocs/mission.xml
deleted file mode 100644
index 24a693748..000000000
--- a/proposal/ant-site/anakia/xdocs/mission.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
- Apache Ant Mission
-
-
-
-
-
-
This is the board resolution (from the minutes)
- that created the Apache Ant project:
-
-
-7.D. Resolution [R3] to create the Ant PMC
-
-WHEREAS, the Board of Directors deems it to be in the best
-interests of the Foundation and consistent with the
-Foundation's purpose to establish a Project Management
-Committee charged with the creation and maintenance of
-open-source software related to the Apache Ant build tool, for
-distribution at no charge to the public.
-
-NOW, THEREFORE, BE IT RESOLVED, that a Project Management
-Committee (PMC), to be known as the "Apache Ant PMC", be and
-hereby is established pursuant to Bylaws of the Foundation; and
-be it further
-
-RESOLVED, that the Apache Ant PMC be and hereby is responsible
-for the creation and maintenance of the Ant build system and
-related software components, based on software licensed to the
-Foundation; and be it further
-
-RESOLVED, that the office of "Vice President, Apache Ant" be
-and hereby is created, the person holding such office to serve
-at the direction of the Board of Directors as the chair of the
-Apache Ant PMC, and to have primary responsibility for
-management of the projects within the scope of responsibility
-of the Apache Ant PMC; and be it further
-
-RESOLVED, that the persons listed immediately below be and
-hereby are appointed to serve as the initial members of the
-Apache Ant PMC:
-
- Bruce Atherton
- Stefane Bailliez
- Stefan Bodewig
- Erik Hatcher
- Diane Holt
- Donald Leslie
- Steve Loughran
- Conor MacNeill
- Costin Manolache
- Sam Ruby
- Jon Skeet
- Magesh Umasankar
- Christoph Wilhelms
-
-NOW, THEREFORE, BE IT FURTHER RESOLVED, that Conor MacNeill be
-and hereby is appointed to the office of Vice President, Apache
-Ant, to serve in accordance with and subject to the direction
-of the Board of Directors and the Bylaws of the Foundation
-until death, resignation, retirement, removal or
-disqualification, or until a successor is appointed; and be it
-further
-
-RESOLVED, that the initial Apache Ant PMC be and hereby is
-tasked with the creation of a set of bylaws intended to
-encourage open development and increased participation in the
-Apache Ant Project.
-
-By Unanimous Vote, Resolution R3 was approved. The Ant PMC is
-hereby created.
-
-
-
-
-
\ No newline at end of file
diff --git a/proposal/ant-site/anakia/xdocs/page.css b/proposal/ant-site/anakia/xdocs/page.css
deleted file mode 100644
index 8462a8635..000000000
--- a/proposal/ant-site/anakia/xdocs/page.css
+++ /dev/null
@@ -1,52 +0,0 @@
-body { background-color: #FFFFFF; margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif; font-size : 90%; }
-
-a:link { color: #0F3660; }
-a:visited { color: #009999; }
-a:active { color: #000066; }
-a:hover { color: #000066; }
-
-.menu { background-color: #4C6C8F; margin: 0px; padding: 3px 8px 5px 3px; font-size : 90%; }
-.menu a:link { color: #FFFFFF; text-decoration : none; }
-.menu a:visited { color: #FFFFFF; text-decoration : none; }
-/*.menu a:active { font-weight: bold }*/
-.menu a:hover { color: #FFCC00; text-decoration : none; }
-.menu ul { margin: 0px 0px 0px 20px; padding: 0px; }
-.menu li { list-style-image: url('images/label.gif'); font-weight : bold; }
-.menu ul ul li .sel { list-style-image: url('images/current.gif'); font-weight : normal; }
-.menu ul ul li { list-style-image: url('images/page.gif'); font-weight : normal; }
-
-table .title { background-color: #FFFFFF; width:100%; border: 0px; }
-.dida { font-size: 60%; }
-
-.pre { white-space: pre;}
-.nowrap { white-space: nowrap;}
-
-.content { padding: 5px 5px 5px 10px; font : small; font-size : 90%; }
-.content .ForrestTable { width: 100%; background-color: #7099C5; color: #ffffff; font-size : 90%;}
-.content .ForrestTable caption { text-align: left; color: black; font-weight: bold; }
-.content .ForrestTable th { text-align: center; }
-.content .ForrestTable td { background-color: #f0f0ff; color: black; }
-
-.frame { margin: 5px 20px 5px 20px; font-size: 90%; }
-.frame .content { margin: 0px; }
-
-.note { border: solid 1px #7099C5; background-color: #f0f0ff; }
-.note .label { background-color: #7099C5; color: #ffffff; }
-
-.warning { border: solid 1px #D00000; background-color: #fff0f0; }
-.warning .label { background-color: #D00000; color: #ffffff; }
-
-.fixme { border: solid 1px #C6C600; background-color: #FAF9C3; }
-.fixme .label { background-color: #C6C600; color: #ffffff; }
-
-.code { border-color: #CFDCED; border-style: solid; border-width: 1px; }
-.codefrag { font-family: "Courier New", Courier, monospace; }
-
-.highlight { background-color: yellow; }
-
-.minitoc {margin: 5px 5px 5px 40px;}
-
-.dtdElement { width: 100%; font-size: 90%; background-color : #ffffff; }
-
-.dtdTag { color: #990000; text-transform : uppercase; font-style : normal; font-size : 120%; font-weight : bold; }
-
diff --git a/proposal/ant-site/anakia/xdocs/problems.xml b/proposal/ant-site/anakia/xdocs/problems.xml
deleted file mode 100644
index fe37facd2..000000000
--- a/proposal/ant-site/anakia/xdocs/problems.xml
+++ /dev/null
@@ -1,268 +0,0 @@
-
-
-
-
- Conor MacNeill
- Having Problems?
-
-
-
-
-
- This page details some steps you can take to try and resolve
- any problems you may be having with Ant. If you find you can't
- resolve the problem, then this page will help you collect some of
- the relevant information to provide in a bug report. This information
- will help the Ant developers understand and resolve the problem.
- Of course, not all the steps here will make sense for every problem
- you may encounter - these are just some suggestions to point
- you in the right direction.
-
-
-
-
- The first step to take when you have a problem with Ant is to read
- the manual entry for the task or
- concept that is giving you trouble. In particular, check the
- meaning of a task's attributes and nested elements. Perhaps an
- attribute is available that would provide the behavior you require.
- If you have problems with the manual itself, you can submit a
- documentation bug report (see below) to help us improve the Ant
- documentation.
-
-
-
-
- If you're still having a problem, the next step is to try and
- gather additional information about what Ant is doing.
- Try running Ant with the verbose flag:
-
- ant -verbose
-
- or
-
- ant -v
-
-
- This will produce output that starts like the following:
-
-
-
-Ant version 1.4.1 compiled on October 11 2001
-Buildfile: build.xml
-Detected Java version: 1.3 in: D:\usr\local\java\jdk13\jre
-Detected OS: Windows NT
-parsing buildfile D:\ant\build.xml
-with URI = file:D:/ant/build.xml
-Project base dir set to: D:\ant
- [property] Loading Environment env.
- [property] Loading D:\ant\conf.properties
-Build sequence for target 'debug' is [debug]
-Complete build sequence is [debug, gensrc, compile, jar, test]
-. . .
-
-
-
-
- You should be able to see from the trace more about what Ant
- is doing and why it's taking a particular course of action.
- If you need even more information, you can use the
- -debug flag rather than
- -verbose.
- This will generally produce so much
- output that you may want to save the output to a file and
- analyze it in an editor. You can save the output using the
- -logfile <filename> flag, or
- using redirection.
-
-
- Once you have all this debug information, how can you use it
- to solve your problem? That will depend on the task in question
- and the nature of your problem. Each task logs different aspects
- of its operation, but it should give you an idea of what is going
- on. For example, the <javac> task logs the
- reasons why it
- chooses to compile particular class files and not others, along
- with which compiler it is using and the arguments it will pass
- to that compiler. The following partial trace shows why
- <javac> is adding one class file but
- skipping another.
- This is followed by which compiler it will be using, the
- arguments that will get passed to the compiler,
- and a list of all the class files to be compiled.
-
-
-
-
-[javac] Test.java omitted as D:\classes\Test.class is up to date.
-[javac] Unset.java added as D:\classes\Unset.class is outdated.
-[javac] Compiling 1 source file to D:\classes
-[javac] Using classic compiler
-[javac] Compilation args: -d D:\classes -classpath D:\classes;
-D:\jdk118\classes.zip; -sourcepath D:\src\java -g:none
-[javac] File to be compiled:
-D:\src\java\Unset.java
-
-
-
-
-
- In many cases, Ant tasks are wrappers around OS commands or
- other Java classes. In debug mode, many of these tasks will
- print out the equivalent command line, as the
- <javac> task
- output does. If you are having a problem, it is often useful to
- run the command directly from the command line, in the same way
- Ant is running it, and see if the problem occurs from there
- as well. The problem may be in the command that is being run,
- or it may be in the way the Ant task is running the command.
- You can also see the effect of changing attribute values on the
- generated command line. This can help you to understand whether
- you are using the correct attributes and values.
-
-
-
-
-
- After examining the debug output, if you still believe that the
- problem you are having is caused by Ant, chances are that someone
- else may have already encountered this problem, and perhaps it has
- been fixed. The next step, therefore, may be to try a nightly build
- of Ant to see if the problem has been fixed. Nightly builds for Ant
- are available from the
-
- Ant web site. While Ant nightly builds are typically quite
- stable and are used by
- Gump
- to build many other Jakarta projects, these builds should
- nonetheless be treated as experimental. Note that nightly builds
- do not build many of the optional tasks the come with Ant.
- A snapshot of these optional tasks is occasionally uploaded to
- the nightly download
-
- area. However, even this snapshot does not contain every
- optional task.
-
-
-
-
-
- If the current nightly build doesn't resolve your problem, it is
- possible that someone else has reported the issue. It is time to
- look at the
- Apache Bug Database. This system is easy to use, and it will
- let you search the
- currently open and resolved bugs to see if your problem has
- already been reported. If your problem has been reported, you can
- see whether any of the developers have commented, suggesting
- workarounds, or the reason for the bug, etc. Or you may have
- information to add (see about creating and modifying bug reports
- below), in which case, go right ahead and add the information.
- If you don't have any additional information, you may just want
- to vote for this bug, and perhaps
- add yourself to the CC list to follow the progress
- of this bug.
-
-
-
-
-
- By this time, you may have decided that there is an unreported
- bug in Ant. You have a few choices at this point. You can send
- an email to the ant-user mailing list
- to see if
- others have encountered your issue and find out how they may
- have worked around it. If after some discussion, you feel it
- is time to create
- a bug report, this is a simple operation in the bug database.
- Please try to provide as much information as possible in order
- to assist the developers in resolving the bug. Please try to enter
- correct values for the various inputs when creating the bug, such
- as which version of Ant you are running, and on which platform,
- etc. Once the bug is created, you can also add attachments to
- the bug report.
-
-
- What information should you include in your bug report? The
- easiest bugs to fix are those that are most easily reproducible,
- so it is really helpful if you can produce a small test case that
- exhibits the problem. In this case, you would attach the build file
- and any other files necessary to reproduce the problem, probably
- packed together in an archive. If you can't produce a test case,
- you should try to include a snippet from your build file and the
- relevant sections from the verbose or debug output from Ant. Try
- to include the header information where Ant states the version,
- the OS and VM information, etc. As debug output is likely to be
- very large, it's best to remove any output that is not
- relevant. Once the bug is entered into the bug database, you
- will be kept informed by email about progress on the bug. If
- you receive email asking for further information, please try to
- respond, as it will aid in the resolution of your bug.
-
-
-
-
-
- Sometimes, you may find that Ant just doesn't do what you need it
- to. It isn't a bug, as such, since Ant is working the way it is
- supposed to work. Perhaps it is some additional functionality for
- a task that hasn't been thought of yet, or maybe a completely new
- task. For these situations, you will
- want to raise an enhancement request. Enhancement requests
- are managed using the same Apache Bug Database described above.
- These are just a different type of bug report. If you look in the
- bug database, you will see that one of the severity settings for
- a bug is "Enhancement". Just fill the bug report in,
- set the severity of the bug to "Enhancement", and
- state in the description how you would like to have Ant enhanced.
- Again, you should first check whether there are any existing
- enhancment requests that cover your needs. If so, just add your
- vote to these.
-
-
-
-
-
- If you aren't satisfied with just filing a bug report, you can
- try to find the cause of the problem and provide a fix yourself.
- The best way to do that is by working with the latest code from CVS.
- Alternatively, you can work with the source code available from the
-
- source distributions. If you
- are going to tackle the problem at this level, you may want to
- discuss some details first on the ant-dev
- mailing list. Once you have a fix for the problem, you may submit
- the fix as a patch to either the
- ant-dev mailing
- list, or enter the bug database as described above and attach the
- patch to the bug report. Using the bug database has the advantage
- of being able to track the progress of your patch.
-
-
- If you have a patch to submit and are sending it to the
- ant-dev mailing list,
- prefix "[PATCH]"
- to your message subject. Please include any relevant bug numbers.
- Patch files should be created with the -u
- option of the
- diff or cvs diff command. For
- example:
-
-
- Note: You should give your patch files meaningful names.
- This makes it easier for developers who need to apply a number
- of different patch files.
-
Nothing listed here is directly supported by the Ant
- developers, if you encounter any problems with them, please use
- the contact information.
-
-
-
-
The Ant-Contrib project is a collection of user supplied
- task (like an <if> task) and a development
- playground for experimental tasks like a C/C++ compilation
- task for different compilers.
AntDoc is a tool that generates HTML documentation from Ant
- buildfiles; the generated HTML is inspired from what javadoc
- yields. It also offers a simple Ant target launcher named
- AntDoc GUI. Ant targets may be launched from the generated
- AntDoc HTML pages.
-
-
AntDoc can be run via an Ant task, AntDoc GUI can be run
- via an Ant task, or via a JVM launch.
At the moment, no license is being attached to the tool.
-
-
-
-
-
-
-
Anthill is a build tool that promotes a controlled build
- process by ensuring that every build reflects the source
- repository contents and tagging the repository with a unique
- build number after every build. Anthill also encourages the
- sharing of knowledge within an organization by automatically
- updating a project intranet site with artifacts from the
- latest build.
-
-
-
-
Compatibility:
-
bundles Ant 1.3, is compatible with Ant 1.3 to 1.4.1
CruiseControl is a tool for setting up a continuous build
- process. CruiseControl provides an Ant wrapper and a set of
- tasks to automate the checkout/build/test cycle. CruiseControl
- also comes bundled with a servlet for viewing the status of
- the current build, as well as previous build results.
Release 1.0 has been licensed under the GNU General Public
- License. Starting with release 1.1 the license has been
- changed to a BSD-like license.
-
-
-
-
-
-
-
Krysalis Centipede is a project build system based on
- Apache Ant. Centipede uses pre-packaged modules called "cents"
- that it downloads and installs automatically. Cents can be
- used as Ant tasks or easy to use targets.
-
-
For example, Forrest is an XML standards oriented project
- documentation framework based on Apache Cocoon. In order to
- assist your projects adoption of this powerful documentation
- generation tool we have packaged it as a cent that will
- (optionally) be automatically downloaded, installed and used
- to build project documentation which includes output from
- other cents such as Javadoc, JDepend, Checkstyle and many
- others.
Rant stands for Remote Ant. It is a distributed build
- system that allows an Ant build file to launch builds on other
- systems and receive exceptions should they occur.
A German language short reference for Ant that covers Ant
- 1.4. This is the original description:
-
-
- Ant kurz & gut enth�lt eine vollst�ndige Referenz der Built-in Tasks
- und ihrer jeweiligen Attribute sowie kurze Beispiele f�r ihre Verwendung.
- Daneben bietet das Buch eine knappe Einf�hrung in die Arbeit mit Ant und
- eine Erl�uterung der Ant-Basiselemente (Projekte, Properties, Targets und Tasks).
- Behandelt werden au�erdem grundlegende Konzepte wie Filesets, Patternsets und
- Pfadstrukturen, das Schreiben eigener Tasks, die Aufruf-Syntax und Optional Tasks.
-
The following sections list articles and presentations written about Apache Ant. If
- you've written something that should be included, please post it to one
- of the mailing lists.
-
-
-
-
-
-
-
This document describes strategies and some basic examples of how to
- use Ant in larger team development projects.
This article demonstrates an approach to the automated build and test process. Working with Ant 1.3 and the JUnit test framework, it shows how to automate a process that captures pertinent information about each test suite run, generates an attractive report, and e-mails the report.
This article explores the benefits of unit testing with Ant and
- JUnit, detailing how to develop automated unit tests and integrate them
- into your build process.
This article outlines how to integrate Ant into VisualAge for Java,
- and how to write and debug custom tasks using the IDE and the
- integrated debugger.
A PowerPoint technical overview presentation on Ant. Comes complete with a straightforward example demonstrating code compilation, JAR'ing, JUnit testing, JUnit reporting, and Zipping a distribution. A few advanced topics are touched upon like property immutabality and using <antcall> to get around it, build listeners, and writing custom tasks.
A detailed Ant 1.3 PowerPoint presentation, made at the St. Louis Java Users Group
- meeting in March 2001. Includes a detailed build file and basic
- descriptions of all the built in and optional tasks. Updated for Ant 1.4 in October 2001.
- Available in PDF format now.
Use the links below to download a source distribution of Ant from
-one of our mirrors. You must
-verify the integrity of the
-downloaded files using signatures downloaded from our main
-distribution directory.
-
-
Ant is distributed as zip, tar.gz and
-tar.bz2 archives - the contents are the same. Please
-note that the tar.* 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
-tar.
You are currently using [preferred]. If you encounter a
-problem with this mirror, please select another mirror. If all
-mirrors are failing, there are backup mirrors (at the end of
-the mirrors list) that should be available.
-
-
-
-
-
-
-
Currently, Apache Ant 1.5.1 is the best available version, see the
-release notes.
If you wish to use the latest Ant features, you can try downloading a
-nightly build.
-
-
-
-
-
-
-
Older releases of Ant can be found here. Those
-releases are only provided as zip archives that can be
-extracted by jar xf archive.zip - we highly
-recommend to not use those releases but upgrade to Ant's latest release.
-
-
-
-
-
-
It is essential that you verify the integrity of the downloaded
-files using the PGP or MD5 signatures.
-
-
The PGP signatures can be verified using PGP or GPG. First
-download the KEYS
-as well as the asc signature file for the particular
-distribution. Make sure you get these files from the main distribution
-directory, rather than from a mirror. Then verify the signatures
-using
Alternatively, you can verify the MD5 signature on the files. A
-unix program called md5 or md5sum is
-included in many unix distributions. It is also available as part of
-GNU
-Textutils. Windows users can get binary md5 programs from here, here, or
-here.
-
-
We highly recommend to verify the PGP signature, though.