Hello,

There seems to be a problem with Ant when there is a dollar sign ($)
at the end of a property value,

eg:

<property name="version" value="$Revision: $" />

reports

java.lang.StringIndexOutOfBoundsException: String index out of range: 12
        at java.lang.String.charAt(Compiled Code)
        at org.apache.tools.ant.ProjectHelper.replaceProperties(Compiled
Code)
        at org.apache.tools.ant.ProjectHelper.configure(Compiled Code)
        at org.apache.tools.ant.ProjectHelper.configureProject(Compiled
Code)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:134)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.main(Compiled Code)


Ant seems to want to check that the next character is a '{'.

Please CC me on replies.

Cheers,

Colin

Colin 't Hart               tel: +61 (03) 6223 1999
Systems Analyst             fax: +61 (03) 6223 1988
Geographic Business Systems
PO Box 844 SANDY BAY, Tasmania 7006

Reply via email to