Re: [Nant-users] Can the If condition read property value?

2005-08-31 Thread Troy Laurin
On 9/1/05, Kevin Kirkpatrick <[EMAIL PROTECTED]> wrote: > I'm trying to use the nant if condition to act on the value of a property. > > http://nant.sourceforge.net/release/latest/help/fundamentals/expressions.html#expression-syntax The syntax you are after looks like: ... -- Troy

[Nant-users] Can the If condition read property value?

2005-08-31 Thread Kevin Kirkpatrick
I’m trying to use the nant if condition to act on the value of a property.      value="d:\Microsoft\EnterpriseLibrary"/>     value="d:\builddir"/>     value="ISOAUTOMATION"/>     value="MSENT"/>   …   value="${MSEnterpriseLibrary}" />   Is this allowed? Or are t

Re: [Nant-users] Setting a proprrty from the command line

2005-08-31 Thread Gary Feldman
Robert Smith wrote: In that case, you can do something like this: unless="${property::exists('config')}" /> inheritall="true"> **Thus, it’ll carry the property forward into other .build files…** It shouldn't be necessary to specify both inheritall="true" and explicit properties. O

RE: [Nant-users] Setting a proprrty from the command line

2005-08-31 Thread Robert Smith
In that case, you can do something like this:                          Thus, it’ll carry the property forward into other .build files…     ~Robert   From: [EMAIL PROTECTE

RE: [Nant-users] External Parameters

2005-08-31 Thread Robert Smith
You could do something like:   nant -buildfile:InitialReportsWeb.build "-D:branch=4873" "-D:build.label=4873_06_1.01.003" "-D:build.version=9.99.001" "-D:config=Debud " "-D:test.env=DevInt"   Each of the properties being defined within the .build file. The “-D:” passed at command

[Nant-users] Can the If condition read property value?

2005-08-31 Thread Kevin Kirkpatrick
I’m trying to use the nant if condition to act on the value of a property.      value="d:\Microsoft\EnterpriseLibrary"/>     value="d:\builddir"/>     value="MSENT"/>     value="${MSEnterpriseLibrary}" />   Is this allowed? Or are there other methods to do that?   Thank

Re: [Nant-users] External Parameters

2005-08-31 Thread Gary Feldman
Paul Cowan wrote: How can I pass external parameters into the NANT script?? NAnt can: get properties on the command line read an entire file into a property loop over the lines of a file include subordinate NAnt build files, which can contain property definitions get the value

RE: [Nant-users] Setting a proprrty from the command line

2005-08-31 Thread Brad Eck
Thanks Robert. That makes sense (though it’s kind of reverse thought). Anyway, the additional thing that seems to be happening in relation to this is that the default property (not the new one passed in) seems to get passed on to subsequent nant calls in my script. So I have 15-20 scripts a

RE: [Nant-users] External Parameters

2005-08-31 Thread Bert Robbins
Environment variables. I start the script using a batch file that defined environment variables, which can come from the command line, and the I initiate nant with the location of the nant script.   Bert     From: Paul Cowan [mailto:[EMAIL PROTECTED] Sent: Wednesday, August

[Nant-users] External Parameters

2005-08-31 Thread Paul Cowan
How can I pass external parameters into the NANT script?? Thanks Paul _ VirusChecked for Huntsworth plc _

Re: [Nant-users] ing 'd targets

2005-08-31 Thread Merrill Cornish
Mike, One common problem when including one NAnt file in another is that they are in two different namespaces. If your included file is in a different namespace than your calling file, then you aren't calling what you think you are calling. Merrill ---

[Nant-users] ing 'd targets

2005-08-31 Thread Mike Roberts
Hi all, OK, maybe I'm being really dumb, but I can't seem to targets from a project file I've 'd - is this supported? I'm using RC3. Cheers, Mike -- mike roberts | http://mikeroberts.thoughtworks.net/ | http://www.thoughtworks.com/ --- SF.