Ok,

What don't you like about it? I am trying to create a set of template
build files with a single property build file where almost 100% of
setting up a new build can be done (some builds will need customizations
to other scripts).

The reason I want to do one property is that two would be one more thing
that would have to be set. I guess I could use a second property driven
by the first. 

What would be nice is if the asminfo task would automatically add the
file extension to the file name based on the language attribtue. But,
since it doesn't I am basically trying to simulate this. 

As always recommendations are accepted. 

Thanks,
BOb


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert
Driesen
Sent: Sunday, December 03, 2006 9:49 AM
To: 'Gary Feldman'; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] iif type expression



> -----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=DEVDE
V
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-------------------------------------------------------------------------
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