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

821A Bloor Street West
Toronto, ON
M6G 1M1

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 > Development Tools > ANT Fundamentals Training

ANT Fundamentals Training

Course#: WA1784

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.

Outline of WA1784 ANT Fundamentals Training

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.
*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

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

Thank you!.

more details
buy this course
Other Details

Register for a courseware sample

It's simple, and free.

 

Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.