Training

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

439 University Av
Suite 820
Toronto, ON
M5G 1Y8

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

 

Home > Training > Open Source > Development Tools >

WA1784 ANT Fundamentals Training and Courseware

Quick Enroll

This course is aimed at students looking to learn the ANT build tool. Students will first be taken through the fundamentals of building an ANT script by examining the structure of an ANT file, and seeing how to use properties. Following that, the student will be taken through several common scenarios where ANT is used (e.g. building Java code, deploying/testing, co-ordinating with CVS, etc) and learn what tasks are available in each appropriate case, writing scripts as necessary. Finally, advanced topics such as integrating ANT with Eclipse and even extending ANT will be discussed.

Topics  
 
  • ANT Overview
  • Common ANT Usage Scenarios
  • Integrating ANT with Eclipse
  • Extending ANT
 
 
What you will learn  
 

After completing this course, the student should be able to:

  • Understand the structure of an ANT script
  • Know how to create an ANT script to:
    • Build Java Code
    • Deploy Java Code
    • Test Java Code with JUnit
    • Check code into/out of CVS
  • Write Custom ANT tasks
 
 
Audience  
 

Java Developers/QA members/Administrators interested in how to understand/write ANT scripts.

 
 
Prerequisites  
 

Students should have a cursory [non-developer] understanding of Java code and XML.

 
 
Duration  
  Two Days.

Course Outline

1. ANT Overview

  • History of ANT
  • The Build File
  • Running Ant

2. Properties and Types

  • Using Properties from Tasks
  • Property Files
  • Property Typing

3. Building Java Code With ANT

  • The javac task
  • User input and calling other tasks
  • Creating JAR files
  • Build Numbers and Timestamps

4. Deploying With ANT

  • Creating TAR and ZIP files
  • Deploying by Copying/Moving/FTP
  • Automatic Builds

5. JUnit Testing With ANT

  • JUnit overview
  • Running tests
  • Running test batches

6. Using CVS With ANT

  • The cvs task
  • Connecting to and working with a CVS server
  • Version control with ANT
  • Change tracking

7. Running Additional Code

  • Executing Java code from ANT
  • Executing external programs from ANT
  • Batch execution and execution order

8. ANT and JEE

  • WAR files
  • CAB files
  • Using ANT with Tomcat
  • Deploying EJBs

9. ANT and XML

  • Reading properties from XML
  • Creating DTDs for ANT tasks
  • XSLT
  • XDoclet
  • EJB deployment descriptors

10. Optional Tasks

  • Sound Effects
  • Text subsitution
  • Dependencies

11. ANT and Eclipse

  • Running ANT scripts
  • Changing ANT version
  • The ANT view

12. Extending ANT

  • Creating A Custom Task
  • Extending Task
  • Creating Listeners
  • Creating Loggers
  • Creating Filters
  • Creating Selectors
  • Creating Additional Types
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
Outline Course Outline

Buy on-site and customized class

Attend a public class

06/04/2012 - Calgary
$1,575.00 Enroll

06/11/2012 - Montreal
$1,575.00 Enroll

06/25/2012 - Vancouver
$1,575.00 Enroll

07/16/2012 - Ottawa
$1,575.00 Enroll

07/23/2012 - Toronto
$1,575.00 Enroll

08/20/2012 - Ottawa
$1,575.00 Enroll

08/27/2012 - Calgary
$1,575.00 Enroll

09/10/2012 - Toronto
$1,575.00 Enroll

09/17/2012 - Vancouver
$1,575.00 Enroll

09/24/2012 - Montreal
$1,575.00 Enroll

10/01/2012 - Toronto
$1,575.00 Enroll

10/01/2012 - Ottawa
$1,575.00 Enroll

10/15/2012 - Vancouver
$1,575.00 Enroll

10/15/2012 - Montreal
$1,575.00 Enroll

11/26/2012 - Calgary
$1,575.00 Enroll

*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.