Joe,
 
Not a stupid question.   I heard a stupid question is a question not asking. 
 
Anyway, I would do something like this (as an example):
 
<property name="count" value="0" />
<echo message="${count}" />
<property name="count" value="${int::parse(count)+1}" />
<echo message="${count}" />
 
HTH,
Felice
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Joseph Mierwa
Sent: Wednesday, June 22, 2005 12:55 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Stupid Nant question from a novice

Hi ,

 

I’ve got what is probably a very stupid question on using expressions in nant. Specifically, if I have a property having a value of 1, what would the _expression_ need to look like to increment it by adding 1 to it?

 

I’ve been searching for _expression_ usage examples without a tremendous amount of success.

 

Any help would be appreciated.

Cheers

Joe Mierwa

 

 

Reply via email to