You
need single quotes round the variable name, otherwise NAnt will try to
evaluate it as a property:
<property name="s2build01"
value="${environment::get-variable('BUILD')}" />
I'm
pretty sure that the environment variable lookup is not case sensitive so
'BUILD' and 'build' should both work.
HTH,
Bill
|
- RE: [Nant-users] environment::get-variable usage Bill Martin
- Re: [Nant-users] environment::get-variable usage Merrill Cornish
- RE: [Nant-users] environment::get-variable usage Kevin Kirkpatrick
- Re: [Nant-users] environment::get-variable usag... Clayton Harbour