You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Philip Aston <pa...@bea.com> on 2002/04/12 13:19:09 UTC
ProjectHelper.parsePropertyString removes $'s - Is this a bug?
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>