Re: [nant-dev] checking task availability

2004-07-05 Thread Gert Driesen
- Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Sunday, July 04, 2004 5:10 PM Subject: Re: [nant-dev] checking task availability Gert Driesen wrote: After giving it some more thought

RE: [nant-dev] checking task availability

2004-07-05 Thread Troy Laurin
Just to add a comment to this discussion... Well, CheckAvailability would perform the actual runtime check (using the XML configuration in the NAnt configuration file, or the behaviour specified by the task), and possibly throw an exception detailing the reason why the task is not

Re: [nant-dev] checking task availability

2004-07-05 Thread Ian MacLean
Gert Driesen wrote: - Original Message - From: Ian MacLean [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: Nant-Developers (E-Mail) [EMAIL PROTECTED] Sent: Sunday, July 04, 2004 5:10 PM Subject: Re: [nant-dev] checking task availability To be able to use this in our tests

Re: [nant-dev] checking task availability

2004-07-04 Thread Ian MacLean
Gert Driesen wrote: Ian, I think we should have a way of checking whether a given task is available, and can be executed (on a given pc, framework, platform, ...). Agreed. This would be very useful. One way of achieving this would be to have a virtual IsAvailable (or CanBeExecuted, or you tell

[nant-dev] checking task availability

2004-07-03 Thread Gert Driesen
Ian, I think we should have a way of checking whether a given task is available, and can be executed (on a given pc, framework, platform, ...). One way of achieving this would be to have a virtual IsAvailable (or CanBeExecuted, or you tell me ... man, am I bad in names or what) property (or