Re: [Nant-users] convert::to-int deprecated

2005-11-01 Thread Troy Laurin
On 11/2/05, Robert Schneider <[EMAIL PROTECTED]> wrote: > Is this the regular approach?: > > > > > //TODO: Stuff > > > > > > Kind of hoaky, but it works :) > > Why not: > > >//TODO: Stuff > Typo aside, putting the actual positive test in the test attribute is much more expressive (at leas

RE: [Nant-users] convert::to-int deprecated

2005-11-01 Thread Robert Schneider
Is this the regular approach?: > >     //TODO:  Stuff > > > Kind of hoaky, but it works :) Why not: //TODO: Stuff or //TODO: Stuff ? Cheers, Robert --- SF.Net email is sponsored by: Tame your development chall

[Nant-users] Perforce p4change command

2005-11-01 Thread Tony_Bjerstedt
Title: Perforce p4change command We are switching from Source Safe to Perforce and I am trying to use the tasks. I am having a problem with the command. I am trying to create a changelist as part of my build script to hold changes to files containing version numbers. When my script execu

RE: [Nant-users] convert::to-int deprecated

2005-11-01 Thread Stephen Tunney
Not sure about the first question, but as for ifnot, replace with the following:   buildtarget ')}">     //TODO:  Stuff   Kind of hoaky, but it works :)   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan Sent: November 1, 2005 6:08 AM To: N

RE: [Nant-users] convert::to-int deprecated

2005-11-01 Thread Stephen Tunney
Actually, for the first part of your question, check out   ${int::parse(value)}   Looks like the functions are attempting to take on a more .NET look :)  Considering you should never use the Convert static methods unless you ABSOLUTELY have to because they are inefficient.   Steve  

RE: [Nant-users] File Attributes

2005-11-01 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Paul Cowan > Sent: dinsdag 1 november 2005 11:39 > To: Nant-users@lists.sourceforge.net > Subject: [Nant-users] File Attributes > > Hi all, > > I am retrieving some xml files from sourcesafe. Do

[Nant-users] convert::to-int deprecated

2005-11-01 Thread Paul Cowan
Hi all,   If the line below is deprecated then what would the new syntax be?   ${convert::to-int(phasenumber) > 1} I also have the same problem with   What would the syntax be for the following be:          

[Nant-users] con

2005-11-01 Thread Paul Cowan
OK, I keep on getting a warning that the   _ VirusChecked for Huntsworth plc _

[Nant-users] File Attributes

2005-11-01 Thread Paul Cowan
Hi all, I am retrieving some xml files from sourcesafe.  Does anyone know how I can make these files writeable after they have been retrieved?   Thanks Paul _ VirusChecked for Huntsworth plc __