Using ant build

How do I use ant build to call a custom target in an ant file? Can’t find much documentation on using ant. I’ve found the call is ‘ant build’, but that is about all.

Isn’t build a target in itself? This page of the Ant documentation has some details on the build file syntax, hope that helps.