Browse DevX
Sign up for e-mail newsletters from DevX


Book Excerpt: Java Development with Ant

The most widely used build tool for Java projects, Ant is cross-platform, extensible, simple, and fast. It scales from small personal projects to large, multi-team J2EE projects. And, most important, it's easy to learn.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

ava Development with Ant systematically explores what Ant can do, and how to apply it to your project. Whether you are new to Ant, or an experienced user, this book will show you powerful and creative uses for Ant. The book emphasizes basic concepts you need to know to effectively use Ant starting with Ant's XML-driven build process. It leads you step-by-step through everything you need to know to compile, test, package and deploy an application. It then guides you through the maze of more complex situations common in larger projects such as enterprise Java applications and Web Services. With this book you will gain access to a powerful tool to automatically build, test and deploy your Java software, no matter how simple or complex it might be.

Chapter 4: "Testing with JUnit" discusses refactoring, various testing procedures and reports, best practices, and more.
Download the PDF of Chapter 4: "Testing with JUnit"

Chapter 15: "Working with Web Services" begings with an overview of how Web services, Ant, and SOAP all work together. The chapter then delves deeper with an exploration of interoperability issues, building clients, and much more.

Download the PDF of Chapter 15: "Working with Web Services"

Appendix E: "Ant Task Reference" provides a quick-reference guide since Ant's current task documentation is out of synch with the tasks themselves in some places.

Download the PDF of Appendix E: "Ant Task Reference"

Reproduced from Java Development with Ant by permission of Manning Publications Co. ISBN 1930110588 copyright 2002. All rights reserved. For further information go to www.manning.com.

Erik Hatcher, an Ant project committer, has written popular articles on Ant's JUnit integration. He maintains jGuru's Ant FAQ where he answers the world's toughest Ant questions. Erik lives in Charlottesville, Virginia.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date