have you tried using $$?  I have (sadly) stepped away from my Ant
involvement for 2 releases, but in the past you needed to escape the $.

-----Original Message-----
From: Philip Aston [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 7:19 AM
To: [EMAIL PROTECTED]
Subject: 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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to