check if the value of the name attribute is not null set the taskname of the antlib task PR: 31840 Obtained from: Mariano Benitez git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276965 13f79535-47bb-0310-9956-ffa450edef68