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 5219] New: - PathConvert task only allows single character path separators
Date Sat, 01 Dec 2001 00:56:29 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=5219>.
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=5219

PathConvert task only allows single character path separators

           Summary: PathConvert task only allows single character path
                    separators
           Product: Ant
           Version: 1.4.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: alan_f_gates@yahoo.com


The PathConvert task does not allow for path separators to be more than one
character.  

So if you give it this:

<pathconvert pathsep="\\" property="newpath" refid="oldpath">

the path separators in newpath are set to \, not \\.

I checked the source code, and confirmed that it is only taking the first
character from the string given in the pathsep attribute.

--
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