Author Login
Post Reply
so Steve you mean that for picking up the addresses for a local Windows
machine, we can just give the path with single backward slash? (like
D:\temp\ant) and it will work?
--------------------------------------------------
From: "Steve Loughran" <stevel@(protected)>
Sent: Wednesday, March 26, 2008 3:15 PM
To: "Ant Users List" <user@(protected)>
Subject: Re: ant sql doesn't recognize the database server name with back
slash?
> Rishi Gogia wrote:
>> in case of a unix env, URL should be used with forward slashes ('/')
>> instead of backslashes
>>
>> and in case any string needs to be used backslashes, they need to
>> accompany another backslash. this is because backslash acts as a escape
>> sequence character (remember \n)
>>
>> so to avoid such a situation, use "\\". the ant interpreter will
>> interpret the same as a single "\" and the task will be accomplished
>
> Normally Ant doesn't do that. There are special rules when working with
> regexp stuff, but there its the java.utils.regex package at work.
>
> -steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)