Fix ant node definition after Java conversion.

+review REVIEW-5165