
Targets
Each project defines one or more targets . A target is a set of tasks you want to be executed. When starting Ant, you can select which target(s) you want to have executed. When no target is given, the project's default is used. The following are some examples for the Target tag:-
<target name="A"/>
<target name="B" depends="A"/>
Note:- depends attribute will make sure that before the building of the current target the depends target is already build.
A target has the following attributes:
Attribute | Description | Required |
name | the name of the target. | Yes |
depends | a comma-separated list of names of targets on which this target depends. | No |
if | the name of the property that must be set in order for this target to execute. | No |
unless | the name of the property that must not be set in order for this target to execute. | No |
description | a short description of this target's function. | No |
Java Discussion
- - Java web application
- - Difference between BMT an
- - Replace getParameterValue
- - Interviewing Next week -
- - Sudoku solver




