JavaEE Logo

Goals


- Know the challenges and possibilities of Ant scripts in a development team

- Be able to set up and maintain multiple projects with Ant

Program

Ant: presentation, history, principle
Coupling with Ivy: dependency management
Uses and alternatives

Practical workshop: Installation / Configuration of Ant – Integration of Ant / IDE

Structure of the build.xml file
Grammar Ant: target, task, …
Declarations and executions
Invocation options
Chaining tasks, conditions, loops
Compilation targets, packaging of a Java application
Path and classpath management

Practical workshop: Using Ant / Java tasks and handling files – packaging applications

Construction scripts
Management of links with source managers (CVS, SubVersioN)
Tasks ftp, scp, exchange security
Modularity, Packaging (jar, war, ear, …)
Web deployment with Ant

Practical workshop: Integration of Ant in a JEE project

JUnit, TestNG: principle, implementation
Automation of tests with Ant
Integration tests with Selenium

Practical workshop: Java / Ant unit tests

Ivy: presentation, interest, implementation
Descriptor, configuration of Ivy, IDE plugins
Query of repositories (local, shared, public)
Ivy / Ant tasks
Conflict management

Practical workshop: Setting up Ivy – demonstration of several tasks

Using ant in a continuous integration process
Hudson Jobs
Ant / Ivy metrics and visualization in Hudson / Jenkins
Report generation

Practical workshop: Ant / Ivy / Jenkins: coupling, reports

Limits of Ant
Ant vs Maven / Gradle

Duration

2 days

Price

£ 1280

Audience

Java Developer

Prerequisites

Knowledge of Java

Reference

JAV547-F

Sessions

From 06/04/2021 to 08/04/2021 (example)

Dates ?

Dates ?