Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: ant sql doesn't recognize the database server name with back
slash?

Steve Loughran

2008-03-26

Replies:

Author LoginPost Reply
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)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.