> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nant-users-
> [EMAIL PROTECTED] On Behalf Of Gary Feldman
> Sent: zondag 3 december 2006 15:36
> To: nant-users@lists.sourceforge.net
> Subject: Re: [NAnt-users] iif type expression
> 
> Gert Driesen wrote:
> >
> > <property name="language" value="D#"/>
> >
> > <echo>${if (property::get-value('language')=='C#', '.cs',
> '.vb')}</echo>
> >
> I'm not sure if the D# was deliberate or a typo, but it highlights that
> this approach doesn't handle the case when language isn't set properly,
> nor does it scale well beyond two choices.

Nope, it was just a typo ;-)

As I clearly mentioned, I do not like this approach myself. 

Gert


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to