ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Task.setTaskType
Date Mon, 03 Dec 2001 14:39:27 GMT
On Mon, 3 Dec 2001, Erik Hatcher <jakarta-ant@ehatchersolutions.com>
wrote:

> 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
DefautlBuildLogger.

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).

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message