>From what I can tell, NAnt the '\' character is treated as an escape
character as it is in the CLR, therefore to use it you need to escape it
first (i.e. '\\')  I haven't done enough investigation to be sure exactly
when this applies, but to be on the safe side, I have used '/' throughout my
build scripts (I come from an Ant/Java background anyway so this was my
first approach) and haven't had any problems so far.

Cheers,

Bill



 -----Original Message-----
From:   Michael A. Angelo [mailto:[EMAIL PROTECTED] 
Sent:   21 April 2004 14:13
To:     'Gert Driesen'; [EMAIL PROTECTED]
Subject:        RE: [Nant-users] / vs. \

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=ick
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or 
organisation to 
whom it is addressed.  Its contents are confidential and may be protected in law.  
Unauthorised use,
 copying or disclosure of any of it may be unlawful.  If you are not the intended 
recipient, please 
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which 
could damage your 
own computer system.  While Marlborough Stirling has taken every reasonable precaution 
to minimise 
this risk, we cannot accept liability for any damage, which you sustain as a result of 
software 
viruses.  You should carry out your own virus checking procedure before opening any 
attachment.


Marlborough Stirling plc, Registered in England and Wales 
Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000     Fax: 01242 547100
http://www.marlborough-stirling.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=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to