At least print a warning if users try to redefine tasks or datatypes.
PR: 3205
This doesn't really solve the original problem, which cannot be solved
in Ant 1.x IMHO, that's why I didn't close the bug.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269808 13f79535-47bb-0310-9956-ffa450edef68