ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <kevin.jack...@it.fts-vn.com>
Subject Re: RFE - provide 'scope' information for targets (includes possible implementation)
Date Fri, 28 Apr 2006 00:59:37 GMT
Steve Loughran wrote:

> Kev Jackson wrote:
>
>> Hi,
>>
>> One of the managers here was looking at the way the description 
>> attribute is used within ant.  He thought that it is used for two 
>> purposes:
>>
>> 1 - describe a task so that -projecthelp can provide output for the 
>> user of a build file
>> 2 - to provide some kind of 'scope' to the targets ie targets without 
>> a description are considered 'private' and really shouldn't be called 
>> directly
>
>
> no, more "primary" and "secondary" targets. You want private, give a 
> target a name beginning with a '-' symbol
>
Thanks for that, didn't know before about the -name workaround.

> Scope is quite a complex thing as we have to consider implications for 
> <import>, <ant>, etc, etc.

Yeah I didn't consider this at all, just the simple case of execution 
directly from the cmd line.

Ok the RFE is not required and would just cause problems, thanks for 
explaining.
Kev

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


Mime
View raw message