Skip to main content

Automatic Building and Testing with Ant

  • Chapter
  • First Online:
  • 7713 Accesses

Abstract

Ant (“Another Neat Tool”) is a Java-based build tool which uses a combination of Java and XML to create platform-independent build and deploy scripts. Being written in Java, it has the advantage over some other build tools of working on any platform. It is open source and is available free from the Apache Software Foundation (http://ant.apache.org/). It uses an XML build file (called “build.xml” by default) containing targets and tasks. Ant is used in many Java projects and can be invoked directly from many other tools, including Eclipse. The Apache Ant project has spawned subprojects such as Ivy (a dependency manager). There are other similar tools around, such as Maven, but Ant is ideal for relatively simple builds.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   74.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD   99.00
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag London Limited

About this chapter

Cite this chapter

Parsons, D. (2012). Automatic Building and Testing with Ant. In: Foundational Java. Springer, London. https://doi.org/10.1007/978-1-4471-2479-5_14

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-2479-5_14

  • Published:

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-4471-2478-8

  • Online ISBN: 978-1-4471-2479-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics