utilized ant to do windchill deployment
DESCRIPTION
TRANSCRIPT
Utilized Ant to do Windchill Deployment
Albert Kuo
1
Agenda
what is ant?
structure of ant
how does ant work?
How to utilize build.xml
Take eMemory for example
2
What is ant
3
A cross-platform build tool
Based on industry standards (Java and XML)
Compile Java code automatically
Open Source (development coordinated by the Apache Jakarta project)
Generate jar, ear, war, zip files automatically
What is Ant?
4
Structure of Ant
Project : a top level collection of targets
Property: an Ant variable
Target: a collection of tasks executed to achieve a particular purpose (a goal)
Task: a unit of Ant execution (a step)
5
How Does Ant Work?
Each Project will have a build file (build.xml)
Each build file will contain one or more Targets
The Target to be executed:
Is either explicitly selected on the command line
Or a project default Target is executed
6
How Does Ant Work?
Each Target is executed only once
Each Target will contain one or more Tasks
Some Tasks are executed conditionally
Tasks are implemented as Java classes
7
How to utilize build.xml
8
take ememoy for example
9
check the build files
Q&A