My 2c: I prefer no nesting of expressions. I think it would clutter the
syntax much for very little gain. I'm not sure if there is anything to
gain from it at all.

<if test="${not
file::up-to-date('${build.dir}/figures/project-structure.xcf',
'figures/project-structure.gif')}"></if>

can be written as:

<if test="${not
file::up-to-date(build.dir+'/figures/project-structure.xcf',
'figures/project-structure.gif')}"></if>

instead.

/Kræn


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Jaroslaw Kowalski
> Sent: 10. januar 2004 20:18
> To: Scott Hernandez; NAnt Developers
> Subject: Re: [nant-dev] ?
> 
> 
> I'll add this. One question: using nested expressions, we can 
> have things
> like this: (note the double quotes)
> 
> <echo message="string::length('aaa ${string:length(''bbbb'')} 
> ccc')}" />
> 
> or even (quadruple quotes):
> 
> <echo message="string::length('${string::length(''aaa
> ${string:length(''''bbbb'''')} ccc'')}')}" />
> 
> Do we want to allow this?
> I'd say - let's support nesting up to one level deep. What to 
> you think?
> 
> Jarek
> 
> ----- Original Message ----- 
> From: "Scott Hernandez" <[EMAIL PROTECTED]>
> To: "NAnt Developers" <[EMAIL PROTECTED]>
> Sent: Saturday, January 10, 2004 8:10 PM
> Subject: Re: [nant-dev] ?
> 
> 
> > Nested expression support sounds like a must, no? Somehow I 
> thought our
> > expression engine already supported this.
> >
> > ----- Original Message ----- 
> > From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
> > [snip]
> > > BTW. Gert, what do you think about allowing 
> sub-expression evaluation in
> > > strings so that we could write:
> > >
> > > <if test="${not
> > > file::up-to-date('${build.dir}/figures/project-structure.xcf',
> > >                                  
> 'figures/project-structure.gif')}">
> > > </if>
> > >
> > > Jarek
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Perforce Software.
> > Perforce is the Fast Software Configuration Management 
> System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.
> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > _______________________________________________
> > nant-developers mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-developers
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
> 



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to