ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirill Paliy <kpa...@aaanet.ru>
Subject [PATCH]
Date Mon, 28 Jan 2002 08:28:00 GMT
Hi

  There is small problem with sql task - it eats single '$' sign
  inside sql statements.

--- ProjectHelper.java.orig     Thu Oct 11 16:58:29 2001
+++ ProjectHelper.java  Mon Jan 28 11:11:58 2002
@@ -751,7 +751,7 @@
                 prev = pos + 1;
             }
             else if (value.charAt(pos + 1) != '{' ) {
-                fragments.addElement(value.substring(pos + 1, pos + 2));
+                fragments.addElement(value.substring(pos, pos + 2));
                 prev = pos + 2;
             } else {
                 int endName = value.indexOf('}', pos);

WBR Kir



--
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