Index: ProjectHelper.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/ProjectHelper.java,v
retrieving revision 1.81
diff -u -r1.81 ProjectHelper.java
--- ProjectHelper.java 27 Mar 2002 09:48:20 -0000 1.81
+++ ProjectHelper.java 29 Mar 2002 11:35:21 -0000
@@ -483,8 +483,8 @@
//peek ahead to see if the next char is a property or not
else if (value.charAt(pos + 1) != '{' ) {
//not a property: insert the char as a literal
- fragments.addElement(value.substring(pos + 1, pos + 2));
- prev = pos + 2;
+ fragments.addElement(value.substring(pos, pos + 1));
+ prev = pos + 1;
} else {
//property found, extract its name or bail on a typo
int endName = value.indexOf('}', pos);
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>