added API to ant targets