ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Aston" <pas...@bea.com>
Subject ProjectHelper.parsePropertyString removes $'s - Is this a bug?
Date Fri, 12 Apr 2002 11:19:09 GMT


I found that the $ symbol is being stripped from SQL used in my <sql>
tasks. Investigating further....

 import org.apache.tools.ant.ProjectHelper;

 public class AntBug {
     public static void main(String[] args) {
 	System.out.println(
 	    ProjectHelper.replaceProperties(null,
 					    "This $ is $ a $test",
 					    null));
     }
 }

gives "This  is  a test"

Surely this isn't the desired behaviour?

- Phil


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


Mime
View raw message