PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramya
NiranjanSent: Monday, February 13, 2006 2:53 AMTo:
nant-users@lists.sourceforge.netSubject: [NAnt-users] Environment
variable issue.
Hi,
I am trying to capture the ERRORLEVEL env variable when a build fails. Ok
the scenario is like this
Hi,
I am trying to capture the ERRORLEVEL env variable when a build fails. Ok the scenario is like this. I am trying to execute an MSI build using the exec task and if this fails, then a folder of name .Date.Time.WithErrors has to be created and the MSI package with errors has to be copied here.
CTED]
*Sent:* Monday, June 06, 2005 2:08 PM
*To:* Kevin Kirkpatrick; nant-users@lists.sourceforge.net
*Subject:* RE: [Nant-users] environment::get-variable usage
You need single quotes round the variable name, otherwise NAnt will
try to evaluate it as a property:
value="${environment::get-v
Kevin Kirkpatrick;
nant-users@lists.sourceforge.net
Subject: RE: [Nant-users]
environment::get-variable usage
You need single
quotes round the variable name, otherwise NAnt will try to evaluate it as
a property:
I'm pretty sure
that the environment variable lookup is not case sensitive so
Kevin,
Everything inside the ${ ... } will be evaluated UNLESS it is quoted. Since I
assume BLOCK is the name of an environment variable rather than of a property
to be evaluated, try single quotes around it.
Merrill
---
This SF.Net email i
ssage-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Kevin
KirkpatrickSent: 06 June 2005 21:57To:
nant-users@lists.sourceforge.netSubject: [Nant-users]
environment::get-variable usage
I have a really stupid question. Is the correct usage for this
function,
I
have a really stupid question. Is
the correct usage for this function, environment::get-variable?
value="${environment::get-variable(BUILD)}"/>
Thanks.
ge.net]On Behalf Of Ian MacLean
> Sent: Donnerstag, 31. Oktober 2002 19:06
> To: Smith, Eric V.
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Nant-users] Environment
>
>
> Sounds like a good idea for new task. Unfortunately the .Net framework
> has no facilites for setting env vars ( be
Behalf Of
Patrick Näf
Sent: woensdag, oktober 30, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Environment
I'm looking for a way to set one or more environment
variables when running
an external program with the task. I didn't see any
documentation for
this, nor could I fin
> What about embedding the external program call in a batch file
> and start the
> batch file with the setting of the environment variables?
I thought of it myself but would have preferred an attribute to the
exec task (or any other method built in to nant) so I wouldn't have
to "pollute" the pro
OTECTED]
> Subject: [Nant-users] Environment
>
>
> I'm looking for a way to set one or more environment
> variables when running
> an external program with the task. I didn't see any
> documentation for
> this, nor could I find any hint when I snooped around
30, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Environment
I'm looking for a way to set one or more environment variables when running
an external program with the task. I didn't see any documentation for
this, nor could I find any hint when I snooped around in the sourc
I'm looking for a way to set one or more environment variables when running
an external program with the task. I didn't see any documentation for
this, nor could I find any hint when I snooped around in the source files of
the latest nightly build.
Have I missed something?
Patrick
yup, check out the sysinfo task. that should populate the sys.env.*
properties, where * corresponds to your enironment variables.
--b
- Original Message -
From: Damon Allison
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 4:22 PM
Subject: [Nant-users] Environment variables
Hello all, Hopefully a very simple
question.
I am wondering: Can I read environment
variables from within an nant file? The reason I ask is because we have
developers with different source directories. I was thinking if each
set the environment variable to the root of their source tree,
15 matches
Mail list logo