Save 40% on books and eBooks + 70% on videos now through May 31*—use code PROGRAM. Shop now.
From the Back Cover:
You¿ve heard about Extreme Programming. You might have read articles or books describing the XP process, but what next? How do you implement XP principles into an actual Java project? This unique book explains everything you need for XP development, starting with Ant, the popular Java build tool. The authors describe every stage of a real-world project life cycle¿testing, refactoring, versioning, deployment, and more¿with practical examples that you can immediately put to use in your own projects.
Every aspect of an XP project includes unique challenges, and Extreme Programming with Ant works through each step of the process.
Throughout the book, the authors include dozens of ideas for extending Ant with useful custom features such as generating UML diagrams and creating reports and metrics on-the-fly. All code and examples have been built, tested, and deployed using Ant 1.5.3.
1. XP and Ant.
What Is XP? The XP Process. Ant and the XP Process. Summary. The Scope of This Book.
Introduction to Ant. Elements of a Buildfile. Ant Command-Line Options. A Basic Project-Management Buildfile. Using Properties. Target Dependencies. Directory-Based Tasks. Adding the backupAdvanced Target. Summary.
Benefits of Automated Testing. Benefits of Integrating Testing into Ant. Types of Automated Testing. What Is Unit Testing? Test First Design. Junit. Version-Control Systems. CVS Access and Logins. Basic Deployment. Summary.
Generating Documentation. Batchtest. Advanced JUnit Target. CleanImports. Summary.
Loggers and Listeners. Filemappers. Filtersets. Path-like Structures. Nightly Build JUnit Target. JunitReport. Reports on Sets of Tests. CruiseControl. Summary.
Working with JAR Files. Deploying Applications as WAR Files. Deployment with Xdoclet. Creating an EAR File with the <ear> Task. Summary.
Why Have Coding Standards? Enforcing Coding Standards. Jalopy. PMD. Checkstyle. IContract. Jdepend. Summary.
CVS Reporting. Creating Technical Release Notes from CVS Comments. Advanced Version Control Techniques for Ant. Performing a Distributed Deployment with Remote Ant. Deploying Information to Databases. Summary.
NetBeans IDE and Ant. Styler. Using the <tempfile> and <purge> Tasks. AntEater. Custom Task for Detection of Missing Unit Tests. Ant's Bean Scripting Framework Capability. Summary.
Creating a Project-Level Buildfile. Using Jikes for Dependency Checking. Writing a Custom Task for NoUnit. Increasing the Efficiency of Code Generation. Creating Unique Build Numbers. Obfuscating JAR Files. Summary.
Encrypting the Output of a Build. Incorporating JUnit into the Build Process. Adding Targets to Control a WebLogic Server. Internationalization. Generating UML Diagrams. Summary. Appendices.
Choosing the Correct Edition of Ant. Obtaining Ant. Building Ant. Installing Ant. Debugging Your Installation.
Custom Tasks. Custom Listeners. Custom Loggers. Some Principles for Developing Custom Tasks, Loggers, Input Handlers. Selectors. Filters. Mappers. Data Types. Summary.
Reasons for the Change. Differences Between Ant 1 and Ant 2. Transitioning to Ant 2.
eMarket Team Buildfile. iNet Team Buildfile. eSupplier Team Buildfile. Sales Department Buildfile. Network Department Buildfile. NetworksByteDesign Common Buildfile.
Development and Testing Platforms. Tool Versions. Index.
The errata for the book is available here in Adobe Portable Document Format (PDF) format. You will need Adobe's Acrobat Reader to view these files. If you do not have the Acrobat Reader installed, you may go to Adobe Systems' web site to download this free reader.
Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.Errata for the book - 31 KB -- 0672325624errata.pdf