ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rishi Gogia" <rishi_go...@hotmail.com>
Subject Re: ant sql doesn't recognize the database server name with back slash?
Date Wed, 26 Mar 2008 10:23:34 GMT
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@apache.org>
Sent: Wednesday, March 26, 2008 3:15 PM
To: "Ant Users List" <user@ant.apache.org>
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@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message