Ant: The Definitive Guide, 2nd Edition

Ant: The Definitive Guide, 2nd Edition

Steve Holzner

Language: English

Pages: 336

ISBN: 0596006098

Format: PDF / Kindle (mobi) / ePub


Soon after its launch, Ant succeeded in taking the Java world by storm, becoming the most widely used tool for building applications in Java environments. Like most popular technologies, Ant quickly went through a series of early revision cycles. With each new version, more functionality was added, and more complexity was introduced. Ant evolved from a simple-to-learn build tool into a full-fledged testing and deployment environment.Ant: The Definitive Guide has been reworked, revised and expanded upon to reflect this evolution. It documents the new ways that Ant is being applied, as well as the array of optional tasks that Ant supports. In fact, this new second edition covers everything about this extraordinary build management tool from downloading and installing, to using Ant to test code. Here are just of a few of the features you'll find detailed in this comprehensive, must-have guide:

  • Developing conditional builds, and handling error conditions
  • Automatically retrieving source code from version control systems
  • Using Ant with XML files
  • Using Ant with JavaServer Pages to build Web applications
  • Using Ant with Enterprise JavaBeans to build enterprise applications

Far exceeding its predecessor in terms of information and detail, Ant: The Definitive Guide, 2nd Edition is a must-have for Java developers unfamiliar with the latest advancements in Ant technology. With this book at your side, you'll soon be up to speed on the premiere tool for cross-platform development.Author Steve Holzner is an award-winning author who s been writing about Java topics since the language first appeared; his books have sold more than 1.5 million copies worldwide.

Introduction to Game Development (2nd Edition)

Software Engineering: Principles and Practice (3rd Edition)

Neural Networks Theory

Geometric Tools for Computer Graphics (The Morgan Kaufmann Series in Computer Graphics)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

You specify a task (like available) and assign the result of that task’s processing to a property. These function are like the condition task, though the syntax is different. Availability of resources The available task sets a property to true if a resource is available at runtime. The resource can be a file, a directory, a class in the classpath, or a JVM system resource. If the resource is available, the property value is set to true; otherwise, the property is not set. For example, the.

Basedir="${output}" includes="*.class" /> Here are the entire contents of another sample file, build.properties, which uses a name=value format for each property: message=Building the .jar file. Using the build file from Example 2-2, here’s the output from running Ant; note the value of the message property was picked up correctly from build.properties: %ant Buildfile: build.xml init: [mkdir] Created dir: /home/steve/ch02/properties/bin compile: [javac] Compiling 1 source.

Loading source file /home/steven//ch03/javadoc/source/Project.java... Constructing Javadoc information... Standard Doclet version 1.4.0 [javadoc] Building tree for all the packages and classes... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... [javadoc] Generating /home/steven//ch03/javadoc/docs/stylesheet.css... Documenting Code This is the Title of the Book, eMatter Edition | 75 compress: [jar] Building jar:.

Safari Enabled When you see a Safari® Enabled icon on the cover of your favorite technology book, it means the book is available online through the O’Reilly Network Safari Bookshelf. Safari offers a solution that’s better than e-books. It’s a virtual library that lets you easily search thousands of top technology books, cut and paste code samples, download chapters, and find quick answers when you need the most accurate, current information. Try it free at http://safari.oreilly.com. We’d Like to.

Hear from You Please address comments and questions concerning this book to the publisher: O’Reilly Media, Inc. 1005 Gravenstein Highway North Sebastopol, CA 95472 (800) 998-9938 (in the United States or Canada) (707) 829-0515 (international or local) (707) 829-0104 (fax) O’Reilly maintains a web page for this book, which lists errata, examples, and any additional information. You can access this page at: http://www.oreilly.com/catalog/anttdg2 xiv | Preface This is the Title of the Book,.

Download sample

Download