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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to