ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: show list of available tasks
Date Tue, 16 Mar 2004 17:22:20 GMT
<description> could be in a <macrodef> in an antlib got from an <import>
and it would still add it self the the project.

The problem is that it is an "active" datatype, it adds itself to the 
Most datatypes are passive, the enclosing task makes use of them,
or an id is used to specify that it is to be added to the project as a 

Dominique Devienne wrote:

>>From: Dale Anson []
>>Actually, <description> is an Ant type, and both Target and Project may
>>contain any Ant type. <description> is indeed a valid child element of
>>Target. Target also happens to have a "description" attribute, it is the
>>value of this attribute that is displayed with 'ant -projecthelp'. Run
>>the <antstructure> task to produce a basic Ant dtd to verify.
>Yeah, but a <description> inside a <target> doesn't apply to the target,
>but to the project, and gets merged with the project's <description>.
>This doesn't doesn't make sense to me, but that's the way it is. --DD
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message