RE: [Nant-users] Conditional arguments in

2004-07-29 Thread Troy Laurin
> If you're going to do this, would it also be possible to have > as well as . A switch or choose structure is much cleaner (IMHO) for this kind of pattern in xml. elseif works well in code, but tends to cause indentation blowout in xml: Disclaimer Message:

RE: [Nant-users] Conditional arguments in

2004-07-29 Thread Troy Laurin
y; [EMAIL PROTECTED] > Subject: Re: [Nant-users] Conditional arguments in > > +1 to either of the ideas. Having an else is a must. > > I wonder if it would be doable to have: > > > > 'then' tasks here > > > > 'else' tas

Re: [Nant-users] Conditional arguments in

2004-07-29 Thread Jaroslaw Kowalski
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 29, 2004 3:15 PM Subject: Re: [Nant-users] Conditional arguments in > Gary, > > The choose pattern is something I had in mind myself, so we might wanna add > this to the release plan for NAnt 0.8x (or 0.9), after a

Re: [Nant-users] Conditional arguments in

2004-07-29 Thread Gert Driesen
IL PROTECTED]> Sent: Thursday, July 29, 2004 3:05 PM Subject: RE: [Nant-users] Conditional arguments in On this note, let me throw in a wishlist item: I wish nant supported an if/else structure! Perhaps something like this: Or perhaps follow the xslt choose pattern? Or perha

RE: [Nant-users] Conditional arguments in

2004-07-29 Thread McCullough, Gary
, July 28, 2004 11:07 PM To: John Ludlow; [EMAIL PROTECTED] Subject: RE: [Nant-users] Conditional arguments in John, to reply to your email in reverse order... (most relevant first) > Any ideas? Currently, the only way (AFAIK) to do what you want is to duplicate the exec task and surround it w

RE: [Nant-users] Conditional arguments in

2004-07-28 Thread Troy Laurin
John, to reply to your email in reverse order... (most relevant first) > Any ideas? Currently, the only way (AFAIK) to do what you want is to duplicate the exec task and surround it with guarding if/ifnot statements: > I tried this (just on an off-chance): > > >