RE: [NAnt-users] Environment variable issue.

2006-02-13 Thread Melissa Kacher
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

[NAnt-users] Environment variable issue.

2006-02-13 Thread Ramya Niranjan
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.

Re: [Nant-users] environment::get-variable usage

2005-06-06 Thread Clayton Harbour
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

RE: [Nant-users] environment::get-variable usage

2005-06-06 Thread Kevin Kirkpatrick
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 &#

Re: [Nant-users] environment::get-variable usage

2005-06-06 Thread Merrill Cornish
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

RE: [Nant-users] environment::get-variable usage

2005-06-06 Thread Bill Martin
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,

[Nant-users] environment::get-variable usage

2005-06-06 Thread Kevin Kirkpatrick
I have a really stupid question.  Is the correct usage for this function, environment::get-variable?       value="${environment::get-variable(BUILD)}"/>           Thanks.

RE: [Nant-users] Environment

2002-11-06 Thread Patrick Näf
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

Re: [Nant-users] Environment

2002-10-31 Thread Ian MacLean
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

RE: [Nant-users] Environment

2002-10-31 Thread Patrick Näf
> 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

RE: [Nant-users] Environment

2002-10-30 Thread Smith, Eric V.
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

RE: [Nant-users] Environment

2002-10-30 Thread Henk van Jaarsveld
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

[Nant-users] Environment

2002-10-30 Thread Patrick Näf
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

Re: [Nant-users] Environment variables

2002-08-22 Thread Ben Lowery
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

[Nant-users] Environment variables

2002-08-20 Thread Damon Allison
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,