Re: [NAnt-users] Exiting a Task

2006-03-28 Thread Gary Feldman
Rod Ayers wrote: I have tried those alternatives. What I had in mind, but didn't elaborate, is running the script "as if it was really going to do some work", but only get messages saying "Kilroy was here". An approach for automation development/testing. That's why I would want to do s

RE: [NAnt-users] Getting full path

2006-03-28 Thread Noel Gifford
Title: Re: [NAnt-users] Traversing Directories Try this ---   ${path::get-full-path(path::combine(dnnroot.dir, project))}   Noel   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan D. Andrews Sent: Tuesday, March 28, 2006 4:55 PM To: Rod Ayers; nant-users@l

RE: [NAnt-users] Getting full path

2006-03-28 Thread Bryan D. Andrews
Title: Re: [NAnt-users] Traversing Directories Hmmm – I have tried everything it seems… nothing works as I would thing it should. I tried escaping as you said, removing quotes, etc with no luck. L     From: Rod Ayers [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 28, 2006 7:48 P

RE: [NAnt-users] Getting full path

2006-03-28 Thread Rod Ayers
Title: Re: [NAnt-users] Traversing Directories Hi, Bryan   Drop the quote marks...its taking $... as a literal string.  You may need to add a "\":  }\$   Rod -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bryan D. AndrewsSent: Tuesday,

RE: [NAnt-users] Getting full path

2006-03-28 Thread Bryan D. Andrews
Title: Re: [NAnt-users] Traversing Directories Sorry I should have said it just writes it out as a string:   C:\${dnnroot.dir}${project}   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan D. Andrews Sent: Tuesday, March 28, 2006 7:46 PM To: nant-users@lists.s

[NAnt-users] Getting full path

2006-03-28 Thread Bryan D. Andrews
Title: Re: [NAnt-users] Traversing Directories I am stuck trying to get a full path of a dynamic path:   ${path::get-full-path('${dnnroot.dir}${project}')}   This does not work… is there an alternative (or a reason why this would not work)?   Thanks!  

Re: [NAnt-users] Traversing Directories

2006-03-28 Thread Rod Ayers
Title: Re: [NAnt-users] Traversing Directories Hi bryan Doesn't matter...I've done it to though not on purpose Somewhere in nant doc it say nant will handle the platform differeces Rod -- Sent from my BlackBerry Wireless Handheld -Original M

RE: [NAnt-users] Traversing Directories

2006-03-28 Thread Stephen Tunney
The only time I’ve ever found an issue is when specifying UNC paths (windows network paths)  \\machine.domain\c$\Windows\...   I prefer the ‘/’ separator, since it allows your scripts to be more platform independent.  Running Nant scripts on *nix cause errors when using ‘\’.   Stephen

[NAnt-users] Traversing Directories

2006-03-28 Thread Bryan D. Andrews
Does it matter if I use ..\.. or ../.. to nant for traversing directories and web paths? I ask because we have some nant scripts that have these mixed and it *seems* to work both ways.   Advice appreciated.