> ----- Original Message -----
> From: "Clayton Harbour" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "Gert Driesen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
> Sent: Wednesday, December 10, 2003 10:10 AM
> Subject: new #cvslib binary
>

> Hi,
>
>
>
> I have committed a new version of #cvslib.  The new version fixes a
> known issue with dates not being populated on a checkout/ update.

Should we also use this new version of #cvslib in NAnt 0.84 rc 2 ?

>
> Also, I have been reading through the list on the status of dashes with
> respect to the expression evaluator.  I realize that this may be coming
> in a little late but I think that since our build files are xml then
> maybe we should standardize on that if possible.  If I have already
> missed the boat :-), and the decision has already been made to remove
> the dashes then I could use some direction on how to transition the
> tasks I have to the new format.  Is it possible to obsolete attributes?

It is possible to obsolete attributes (properties on tasks/types) and
tasks/types themselves using the ObsoleteAttribute. For attributes this will
get translated into a warning that will be output in the build log and a
"deprecated" indication in the task/type docs. For tasks and types, this
will (for now) only be translated into a deprecated indication in the
task/type docs.

However, I have not yet added support for deprecating a specific
task/type/attribute name, meaning that the task/type/attribute itself is not
deprecated, but a specific name for that task/type/attribute is deprecated.
I'm not sure how to go about implementing this.  Guess we'd have to add a
Obsolete property and perhaps a ObsoleteMessage property to the NAnt build
attribute classes, meaning you'd have :

[TaskName("cvscheckout")]
[TaskName("cvs-checkout", Obsolete=true, ObsoleteMessage="Use <cvscheckout>
instead.")]
public class CheckoutTask : AbstractCvsTask {
 ....
}

What do you think ?  Got any other (and better) proposals ?

This might appear simple, but it has quite some impact on our
attribute-based initialization code and our documentation generation process
...

Gert



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to