An Ant build.xml file can contain any number of target tags - there's no fixed limit. Each target represents a named sequence of tasks that can be executed independently or as dependencies of other targets. Common practice is to have multiple targets like init, compile, test, deploy, clean, etc.