I guess I'll just deal with it. What I've done is set a <property> to the
'/' since I need this more often and then when I need the '\' I just call
string::replace(var, '/', '\') 

Works ok for me.

Thanx for all your suggestions.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin
Gabriel (Firing Systems Engr.)
Sent: Wednesday, April 21, 2004 12:33 PM
To: Ian MacLean; Michael A. Angelo
Cc: Gert Driesen; [EMAIL PROTECTED]
Subject: RE: [Nant-users] / vs. \

I've gotten similar errors in the past when trying to use <vssget>. When I
specify localpath it must use '\' as the directory separators otherwise it
complains that the path is not a DOS path. In other situations I've noticed
that either works. I think this is because .NET library objects are smart
enough to convert between them (this is speculation on my part). I'm not
sure why any task (running on Windows) should require that '/' be used as
the directory separator... Unix environment are going to want to specify
paths their way and likewise with Windows. I think that any task that is not
Windows specific should work either way. (I think <vssget> would be Windows
specific since I'm not aware of a Unix version... I could be wrong).

--
Edwin G. Castro

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian MacLean
Sent: Wednesday, April 21, 2004 8:50 AM
To: Michael A. Angelo
Cc: 'Gert Driesen'; [EMAIL PROTECTED]
Subject: Re: [Nant-users] / vs. \

You shouldn't *need* '/' for the delete task as it uses filesets. Can 
you post an example build file demonstrating these issues - ie showing 
which values only work when they are one or the other format.

There is no <includes> task that Im aware of. Do you mean the <include> 
task or some task that has a fileset called <includes> ?

Ian


Michael A. Angelo wrote:

>It appears that I need '/' for tasks like <delete> but I need '\' for the
><vssget> task.
>
>If I use '\' for the <includes> task I don't get any files. If I switch to
>'/' it works fine.
>
>Michael.
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
>Sent: Wednesday, April 21, 2004 1:27 AM
>To: Michael A. Angelo; [EMAIL PROTECTED]
>Subject: Re: [Nant-users] / vs. \
>
>Michael,
>
>Tasks should not have problems with either, so please post a repro if you
>have different results.
>
>Thanks,
>
>Gert
>
>----- Original Message ----- 
>From: "Michael A. Angelo" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, April 20, 2004 10:04 PM
>Subject: [Nant-users] / vs. \
>
>
>  
>
>>Is it my imagination or do some tasks like / but dislike \ ? I am trying
>>    
>>
>to
>  
>
>>set <property> values at the top of my build file and some of my tasks
>>    
>>
>like
>  
>
>><delete dir=..../> do not like /
>>
>>This is causing me to have numerous <property> entries with one have / and
>>the other have \
>>
>>Any way around this?
>>
>>TIA
>>
>>Mike.
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IBM Linux Tutorials
>>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>>GenToo technologies. Learn everything from fundamentals to system
>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>>_______________________________________________
>>Nant-users mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/nant-users
>>
>>    
>>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Nant-users mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/nant-users
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id70&alloc_id638&op�k
>_______________________________________________
>Nant-users mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/nant-users
>  
>


-- 
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to