ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: SQL task fails when '$' is within SQL statement
Date Tue, 30 Oct 2001 06:45:16 GMT
On Mon, 29 Oct 2001, Ralph Bohnet <bohnet@yahoo.com> wrote:

>   UPDATE system_code_description SET 
>       description = '$'  where  [omitted]

you need to double the $ sign, sorry, but this is a side effect of
Ant's property resolution code.  I know that this may be inconvenient,
but that's the way it is.

> These files are also to be executed from a tool like 'sqlplus' so I
> cannot simply add another $ or I will get undesirable effects.

Make a copy of the file and run <replace> over it, replacing all
occurences of $ with $$.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message