DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5156>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5156

$ removed in projecthelper.replaceProperties

           Summary: $ removed in projecthelper.replaceProperties
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using the replaceProperties functionality in different tasks all $ is 
removed.

I located the problem in the projecthelper class, line 670 something 
The pos + 1 deleted the "$"  
 
            else if (value.charAt( pos + 1 ) != '{' ) {

              // sb.append( value.charAt( pos + 1 ) );
               // prev=pos+2; // XXX
 
   sb.append( value.charAt( pos ) );
                prev=pos+1; // XXX
 
I do not know if this is a bug or if this is the intended functionality of 
replace properties, I have changed it nevertheless and it works fine.

/Johan Adel�w
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to