Re: [NAnt-users] path combine question for OS

2009-02-26 Thread Jacob Siegel
I typically work on windows, but in virtually all of the software I use I use paths in the form of: A/B/C Windows seems to interpret this OK in the lower level API's (at least in .NET, havent actually tried directly win32 stuff in ages). So I suspect that you could use paths in that form prett

Re: [NAnt-users] path combine question for OS

2009-02-26 Thread Brass Tilde
>  I am trying to use the path combine operation to launch an exec task with > the correct executable.  I was hoping that path combine would correctly > combine for the correct OS   A/B/C for mac and A\B\C for windows. > path::combine ( "A", "B/C") would correctly give A/B/C for mac and A\B\C for

Re: [NAnt-users] path combine question for OS

2009-02-26 Thread Bob Archer
> path::combine( "A", "B" ) > > correctly gives A/B for mac and A\B for window > > but I was hoping that > > path::combine ( "A", "B/C") would correctly give A/B/C for mac and A\B\C > for > windows. Path::combine(Path::combine("A", "B"),"C") or similar should work. BOb ---

[NAnt-users] path combine question for OS

2009-02-26 Thread ptr2009
hey all I am trying to use the path combine operation to launch an exec task with the correct executable. I was hoping that path combine would correctly combine for the correct OS A/B/C for mac and A\B\C for windows. path::combine( "A", "B" ) correctly gives A/B for mac and A\B for window