ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Task.setTaskType
Date Mon, 03 Dec 2001 14:39:27 GMT
On Mon, 3 Dec 2001, Erik Hatcher <>

> Is this method intentionally package-scoped rather than public?

intentionally.  task-type is what it has been called in the build file
as an element, task-name is the same, unless the user has specified
the taskname attribute, which ovverides the value.

> What is it used for other than in output messages?

It isn't used for output messages, task-name is.  At least in

It is used to identify which incarnation of a class has been asked
for, the only current use of which is to print deprecation warnings
(if you use ecpand to run unzip or javadoc2 to run javadoc).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message