ebook img

Ant in Action: Covers Ant 1.7 PDF

600 Pages·2007·17.93 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Ant in Action: Covers Ant 1.7

www.dbeBooks.com - An Ebook Library Praise for the First Edition “Overall, Java Development with Ant is an excellent resource...rich in valuable information that is well organized and clearly presented.” —Slashdot.org “If you are using Ant, get this book.” —Rick Hightower, co-author of Java Tools for eXtreme Programming “This is the indispensable Ant reference.” —Nicholas Lesiecki, co-author of Java Tools for eXtreme Programming “Java Development with Ant is essential for anyone serious about actually shipping Java applications. I wish I could say I wrote it.” —Stuart Halloway Chief Technical Officer, DevelopMentor Author, Component Development for the Java Platform “Erik and Steve give you the answers to questions you didn’t even know you have. Not only is the subject of Ant covered almost in its entirety, but along the way you pick up all these juicy little tidbits that only one who’s used Ant in production environments would know.” —Ted Neward .NET & Java Author, Instructor “This should be required reading for all Java developers.” —Denver Java Users Group Ant in Action Second Edition of Java Development with Ant STEVE LOUGHRAN ERIK HATCHER MANNING Greenwich (74° w. long.) For online information and ordering of this and other Manning books, please go to www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact: Special Sales Department Manning Publications Co. Sound View Court 3B Fax: (609) 877-8256 Greenwich, CT 06830 Email: [email protected] ©2007 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Manning Publications Co. Copyeditor: Laura Merrill Sound View Court 3B Typesetter: Denis Dalinnik Greenwich, CT 06830 Cover designer: Leslie Haimes ISBN 1-932394-80-X Printed in the United States of America 1 2 3 4 5 6 7 8 9 10 – MAL – 11 10 09 08 07 To my wife, Bina, and our little deployment project, Alexander. You’ve both been very tolerant of the time I’ve spent on the computer, either working on the book or on Ant itself. brief contents 1 Introducing Ant 5 2 A first Ant build 19 3 Understanding Ant datatypes and properties 47 4 Testing with JUnit 79 5 Packaging projects 110 6 Executing programs 149 7 Distributing our application 179 8 Putting it all together 209 9 Beyond Ant’s core tasks 233 10 Working with big projects 264 11 Managing dependencies 297 12 Developing for the Web 320 13 Working with XML 340 14 Enterprise Java 363 15 Continuous integration 387 16 Deployment 406 17 Writing Ant tasks 443 18 Extending Ant further 483 vii contents preface to the second edition xix foreword to the first edition xxi preface to the first edition xxiii acknowledgments xxv about this book xxvii about the authors xxxi about the cover illustration xxxii Introduction to the Second Edition 1 Part 1 Learning Ant 3 1 Introducing Ant 5 1.1 What is Ant? 5 The core concepts of Ant 6 ✦ Ant in action: an example project 8 1.2 What makes Ant so special? 11 1.3 When to use Ant 12 1.4 When not to use Ant 13 1.5 Alternatives to Ant 13 IDEs 13 ✦ Make 14 ✦ Maven 16 1.6 The ongoing evolution of Ant 16 1.7 Summary 17 ix

Description:
This second edition of a Manning bestseller has been revised and re-titled to fit the 'In Action' Series by Steve Loughran, an Ant project committer. Ant in Action introduces Ant and how to use it for test-driven Java application development. Ant itself is moving to v1.7, a major revision, at the en
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.