DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28264>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28264 Expose the adaptTo class of AntTypeDefinition ------- Additional Comments From [EMAIL PROTECTED] 2004-04-07 16:49 ------- I am not sure that it a good idea to do this. In ant 1.6, types can be tasks, they only need to extend org.apache.tools.ant.Task, the adaptto class is not needed. so: <typedef name="e" class="org.apache.tools.ant.taskdefs.Echo"/> <taskdef name="e" class="org.apache.tools.ant.taskdefs.Echo"/> are exactly the same, from the point of view of a script. The ant core code figures out if a type is a task by calling AntTypeDefinition#getExposedType() - which loads the task or type. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]