> > But it may break some build scripts which use "length" and similar > keywords > > as property names. What should we do then? > > true :-( Looks we couldn't be 100% compatible... Unless expression generator > allows to use "length" variable/property and "length()" function in the same > time.
It's of course possible to distinguish between "property" and "function()" within the parser. The following interpretation of keywords is very easy to implement: keyword followed by "(" is a function call. true/false are boolean literals everything else denotes a property The following would be allowed then (should it be?): <property name="length" value="aaaaaaaa" /> <if test="length(length)=8"> <echo message="ok" /> </if> Jarek ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers