Confused about ant api

From: Arun (arun_hallan_at_hotmail.com)
Date: 02/27/05


Date: 26 Feb 2005 20:21:18 -0800

I'm a bit confused about using the ant api.

All i want to do is select a build file, the directory it must operate
on, and the target that it must operate. I'd also like to get a list of
targets so the user can select one.

So far everything i read requires me to set up various properties etc.
Very confusing.

Anyone got any ideas?