Re: [NAnt-users] Help with property needed

2007-12-22 Thread Gert Driesen
Hi Johannes, (not replying inline: I wish Outlook would be more smart when it comes to properly indenting the original message) You'd actually use it like this: Or you can use it inline:

Re: [NAnt-users] Help with property needed

2007-12-22 Thread Johannes Luber
Gert Driesen schrieb: > Hi Johannes, > > NAnt will not resolve PlatformID.Unix to its enum value. > > You can use this instead: > > > ${operating-system::get-platform(environment::get-operating-system())=='Unix > '} > > However, this will only work if you're running NAnt on .NET 2.

Re: [NAnt-users] Help with property needed

2007-12-22 Thread Gert Driesen
Hi Johannes, NAnt will not resolve PlatformID.Unix to its enum value. You can use this instead: ${operating-system::get-platform(environment::get-operating-system())=='Unix '} However, this will only work if you're running NAnt on .NET 2.0 and higher (or Mono 2.0 profile). Or,

[NAnt-users] Help with property needed

2007-12-22 Thread Johannes Luber
Hi! I've been trying to set a property dependent on the OS nant is running on, but so far I've failed. I can't get this to work: I always receive "Property evaluation failed." as error message. Can someone help me? Thanks in advance, Johannes -

Re: [NAnt-users] Nantcontrib doesn't work when called fromCruiseControl

2007-12-22 Thread Gert Driesen
Hi Juan Carlos, Does it work if run the build script directly (with CC.NET) on the same machine? Are you sure the mapped drive is available under CC.NET? Gert _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juan Carlos Becerra Irene Sent: zaterdag 22 december 2007 0