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
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
|