ebook img

Java Development with Ant PDF

673 Pages·2003·6.54 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 Java Development with Ant

Java Development with Ant Java Development with Ant ERIK HATCHER STEVE LOUGHRAN MANNING Greenwich (74° w. long.) For online information and ordering of this and other Manning books, 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. 209 Bruce Park Avenue Fax: (203) 661-9018 Greenwich, CT 06830 email: [email protected] ©2003 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 areclaimed 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 thebooks we publish printed on acid-free paper, and we exert our best efforts to that end. Manning Publications Co. Copyeditor: Maarten Reilingh 209 Bruce Park Avenue Typesetter: Martine Maguire-Weltecke Greenwich, CT 06830 Cover designer: Leslie Haimes ISBN 1930110588 Printed in the United States of America 1 2 3 4 5 6 7 8 9 10 – VHG – 06 05 04 03 02 To my wife Carole and our two sons, Jakob and Ethan. Thank you for taking care of me while I took care of this book. Erik To Bina and Alexander. Thank you for being so patient during the long hours of this project. Steve brief contents Part 1 Learning Ant 1 1 Introducing Ant 3 2 Getting started with Ant 23 3 Understanding Ant datatypes and properties 47 4 Testing with JUnit 85 5 Executing programs 111 6 Packaging projects 134 7 Deployment 163 8 Putting it all together 188 Part 2 Applying Ant 203 9 Using Ant in your development projects 205 10 Beyond Ant’s core tasks 234 11 XDoclet 260 vii 12 Developing for the web 278 13 Working with XML 317 14 Enterprise JavaBeans 333 15 Working with web services 355 16 Continuous integration 386 17 Developing native code 407 18 Production deployment 431 Part 3 Extending Ant 465 19 Writing Ant tasks 467 20 Extending Ant further 498 Appendices A Installation 523 B XML primer as it applies to Ant 532 C IDE integration 536 D The elements of Ant style 544 E Ant task reference 561 viii BRIEF CONTENTS contents foreword xxv preface xxvii acknowledgments xxix about this book xxxi about the authors xxxvi about the cover illustration xxxvii Part 1 Learning Ant 1 1 Introducing Ant 3 1.1 What is Ant? 3 What is a build process and why do you need one? 4 Why do we think Ant makes a great build tool? 4 1.2 The core concepts of Ant 5 An example project 7 1.3 Why use Ant? 10 Integrated development environments 10 Make 11 ✦ Other build tools 13 Up and running, in no time 14 1.4 The evolution of Ant 14 1.5 Ant and software development methodologies 16 eXtreme Programming 16 Rational Unified Process 17 1.6 Our example project 17 Documentation search engine—example Ant project 18 1.7 Yeah, but can Ant… 19 1.8 Beyond Java development 21 Web publishing engine 21 ✦ Simple workflow engine 21 Microsoft .NET and other languages 21 1.9 Summary 22 ix

Description:
I read the first 4 chapters of this book to get a basic understanding of Ant. Since my employer already uses Ant, the skills that I need is to understand an Ant build file and how to modify it to satisfy new requirements. Using this book as my only Ant's reference, I could find a solution for any re
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.