
Ant's build file is written in XML
Ant's build file consists of "project" "target" and "tasks"
The Attributes of Project are "project name="" default="" basedir=""
The Attributes of Target are "target name="" depends="" if="" unless=""
name - name of the target, depends - A comma seperated list of targets which this target depends
if - The name of the property that must be set in order for this target to execute
unless - The name of the property that must not be set for this target to execute.
TASK -- A Task is a piece of code to be executed.
List of Build-in Tasks
----------------------
1. ANT - runs ant on a supplied Buildfile. This can be used to build subProjects,
2. buildnumber file="" -- 0This is a basic task that can be used to track build number.
3. gzip or bzip2 packs a resource using GZip or BZip algorithm.
4. copy - Copies a file or resource to a new file or directory.
5. copydir - Copies a Dir tree from a source to Destination
No comments:
Post a Comment