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
Don't use ${ } inside an existing expression. You use it once to say this in an expression.. from there Nant knows how to find the keywords, etc So instead of Use Assuming 'version-info-script' is the name of the file you are looking for. Strings put in ' ' , function names and prop

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
OK, got it! Thanks everyone. -Nate On Tue, Apr 7, 2009 at 3:01 PM, Gert Driesen wrote: > Hi Nathan, > > In expressions, properties must be references without braces. > For example: > >     >         /> >     > > Hope this helps, > > Gert > > -Original Message- > From: Nathan Franzen [m

Re: [NAnt-users] properties in functions

2009-04-07 Thread Gert Driesen
Hi Nathan, In expressions, properties must be references without braces. For example: Hope this helps, Gert -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

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: [NAnt-users] properties in