Provides a way to find targets from an Ant build script.
Note that scripts may import other scripts using
the <import> pseudotask, so you may need
to use
Target.getScript to check which script a target came from.
Warning: the current implementation does not attempt to handle
import statements which use Ant properties in the imported file name, since
it is not possible to determine what the value of the file path will actually
be at runtime, at least not with complete accuracy. |