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=14128>.
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=14128

PVCS CreateFolders method is incorrect

           Summary: PVCS CreateFolders method is incorrect
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The PVCS CreateFolders method currently has...

if (line.startsWith("\"\\") ||
                    line.startsWith("\"/") ||
                    line.startsWith(getLineStart())) {

However to get it to work, we had to use the following:

if(line.startsWith("\"\\") ||
                                               line.startsWith("\"/") ||
                                               (line.length() > 3
                                                && line.startsWith("\"") &&
                                                Character.isLetter(line.charAt
(1)) &&
                                                String.valueOf(line.charAt
(2)).equals(":") &&
                                                String.valueOf(line.charAt
(3)).equals("\\")
                )) {

Thanks,
Mark

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

Reply via email to