ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5156] New: - $ removed in projecthelper.replaceProperties
Date Wed, 28 Nov 2001 10:21:14 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: johan.adelow@corustechnologies.com


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
johan.adelow@corustechnologies.com

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message