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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to