Re: [NAnt-users] properties in functions

2009-04-08 Thread Steve Kapinos
: Wednesday, April 08, 2009 11:42 AM To: Steve Kapinos; Nathan Franzen; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] properties in functions Actually, in the original posting, version-info-script was a property that was initialised with the name of the file in question, rather than bei

Re: [NAnt-users] properties in functions

2009-04-08 Thread Chris Lambrou
ginal Message- From: Steve Kapinos [mailto:steve.kapi...@tandberg.com] Sent: 08 April 2009 14:46 To: Nathan Franzen; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] properties in functions Don't use ${ } inside an existing expression. You use it once to say this in an expression..

Re: [NAnt-users] properties in functions

2009-04-08 Thread Steve Kapinos
09 2:26 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] properties in functions I'm coming to NAnt from an ant background, but I'm trying to adapt. The documentation for says that it's deprecated & recommends using functions instead. I prefer to parameterize as much as p

Re: [NAnt-users] properties in functions

2009-04-07 Thread Guy Metz
Your close, you don't need the ${} around the property name inside and expression.change: to: On Tue, Apr 7, 2009 at 2:26 PM, Nathan Franzen wrote: > I'm coming to NAnt from an ant background, but I'm trying to adapt. > The documentation for > > says that it's deprecated & recomm

Re: [NAnt-users] properties in functions

2009-04-07 Thread Nathan Franzen
-Original Message- > From: Nathan Franzen [mailto:nfran...@gmail.com] > Sent: dinsdag 7 april 2009 20:26 > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] properties in functions > > I'm coming to NAnt from an ant background, but I'm trying to adapt. >

Re: [NAnt-users] properties in functions

2009-04-07 Thread Gert Driesen
-users] properties in functions I'm coming to NAnt from an ant background, but I'm trying to adapt. The documentation for says that it's deprecated & recommends using functions instead. I prefer to parameterize as much as possible, so I wrote NAnt doe

Re: [NAnt-users] properties in functions

2009-04-07 Thread Bob Archer
Once you are already in an expression you don't escape the properties again. Use this: BOb > -Original Message- > From: Nathan Franzen [mailto:nfran...@gmail.com] > Sent: Tuesday, April 07, 2009 2:26 PM > To: nant-users@lists.sourceforge.net > Subject: [NA

[NAnt-users] properties in functions

2009-04-07 Thread Nathan Franzen
I'm coming to NAnt from an ant background, but I'm trying to adapt. The documentation for says that it's deprecated & recommends using functions instead. I prefer to parameterize as much as possible, so I wrote NAnt doesn't like this much: Unexpected token 'Dollar'.