ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: ant sql doesn't recognize the database server name with back slash?
Date Wed, 26 Mar 2008 09:45:46 GMT
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message