f`ksiifandwyelech`r Book Archive > Computer Science > Ant: The Definitive Guide, 2nd Edition

Ant: The Definitive Guide, 2nd Edition

By Steve Holzner

Soon after its release, Ant succeeded in taking the Java global through hurricane, turning into the main typical instrument for development functions in Java environments. Like most well-liked applied sciences, Ant fast went via a chain of early revision cycles. With every one new edition, extra performance was once additional, and extra complexity used to be brought. Ant advanced from a simple-to-learn construct software right into a full-fledged checking out and deployment environment.Ant: The Definitive Guide has been remodeled, revised and elevated upon to mirror this evolution. It files the hot ways in which Ant is being utilized, in addition to the array of not obligatory projects that Ant helps. in truth, this new moment version covers every little thing approximately this remarkable construct administration instrument from downloading and fitting, to utilizing Ant to check code. listed below are simply of some of the gains you will discover special during this entire, must-have guide:

  • Developing conditional builds, and dealing with errors conditions
  • Automatically retrieving resource code from model keep watch over systems
  • Using Ant with XML files
  • Using Ant with JavaServer Pages to construct internet applications
  • Using Ant with company JavaBeans to construct company applications

Far exceeding its predecessor by way of details and aspect, Ant: The Definitive Guide, 2d variation is a must have for Java builders strange with the newest developments in Ant know-how. With this e-book at your aspect, you will soon be on top of things at the ideal instrument for cross-platform development.Author Steve Holzner is an award-winning writer who s been writing approximately Java issues because the language first seemed; his books have offered greater than 1.5 million copies worldwide.

Show description

Preview of Ant: The Definitive Guide, 2nd Edition PDF

Similar Computer Science books

TCP/IP Sockets in C#: Practical Guide for Programmers (The Practical Guides)

"TCP/IP sockets in C# is a superb ebook for someone attracted to writing community purposes utilizing Microsoft . web frameworks. it's a precise mixture of good written concise textual content and wealthy rigorously chosen set of operating examples. For the newbie of community programming, it is a sturdy beginning e-book; nevertheless execs make the most of first-class convenient pattern code snippets and fabric on subject matters like message parsing and asynchronous programming.

Compiler Design Theory (The Systems programming series)

First-class, undying ebook on compiler layout

Introduction to the Design and Analysis of Algorithms (2nd Edition)

In keeping with a brand new class of set of rules layout innovations and a transparent delineation of study equipment, advent to the layout and research of Algorithms offers the topic in a coherent and cutting edge demeanour. Written in a student-friendly type, the ebook emphasizes the certainty of principles over excessively formal therapy whereas completely protecting the cloth required in an introductory algorithms direction.

Distributed Algorithms: An Intuitive Approach (MIT Press)

This booklet deals scholars and researchers a consultant to allotted algorithms that emphasizes examples and workouts instead of the intricacies of mathematical types. It avoids mathematical argumentation, usually a stumbling block for college students, educating algorithmic idea instead of proofs and good judgment.

Additional info for Ant: The Definitive Guide, 2nd Edition

Show sample text content

Ix 1. Getting begun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Ant’s Origins Getting Ant Ant at paintings Anatomy of a construct dossier working Ant 2 2 four 6 23 2. utilizing houses and kinds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 utilizing houses to manage projects utilizing estate documents dealing with facts utilizing varieties 32 39 forty four three. construction Java Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Compiling Code Getting enter from the consumer Calling different Ant initiatives uploading different construct documents Documenting Code developing JAR records atmosphere construct Numbers surroundings Timestamps 60 sixty six sixty eight seventy two seventy four eighty one eighty four eighty five four. Deploying Builds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Packaging functions for Deployment getting ready to installation Deploying purposes Scheduling computerized Builds 88 ninety nine 102 118 v 5. checking out Builds with JUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred twenty five utilizing JUnit operating try out circumstances trying out in Batches operating the construct dossier Extending JUnit 127 137 142 one hundred forty four 148 6. Getting resource Code from CVS Repositories . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred fifty resource keep an eye on and Ant Logging In operating with the Server Getting model info growing switch Logs discovering adjustments among models developing Patches one hundred fifty 153 154 161 161 164 one hundred sixty five 7. Executing exterior courses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Executing Java Code Executing exterior courses appearing Batch Execution Multithreading projects environment Execution Order 167 172 179 181 182 eight. constructing for the internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 developing struggle data growing CAB records growing uncomplicated internet Deployment Deploying with SCP Deploying to Tomcat Compiling JSPs Deploying to EJB bins 184 187 188 189 192 196 two hundred nine. XML and XDoclet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 Validating XML files Loading homes from XML documents developing Ant job DTDs reworking XML utilizing XSLT utilizing XDoclet constructing firm JavaBeans vi | desk of Contents 206 211 213 214 218 230 10. not obligatory projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 utilizing Sound growing Splash displays Subtituting textual content utilizing normal Expressions dealing with Dependencies 234 235 236 238 eleven. Integrating Ant with Eclipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Introducing Eclipse working Ant construct records utilizing a special model of Ant utilizing the Ant View 241 247 253 255 12. Extending Ant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 making a basic customized Ant activity Extending the duty classification developing customized Listeners developing customized Loggers developing customized Filters growing customized Selectors developing New varieties 257 260 278 280 282 284 286 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 desk of Contents | vii Preface Welcome to Ant, today’s most well known construct instrument. Ant is a unprecedented software, and it fills a long-standing want between builders. not must you try and take into accout the 50 steps to construct your venture and ensure you do them within the correct order or attempt to get finicky makefiles splendid.

Download PDF sample

Rated 4.40 of 5 – based on 26 votes