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

http://issues.apache.org/bugzilla/show_bug.cgi?id=33057

           Summary: VSS tasks do not handle CRLF in comments
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When you use CR or LF characters in the comment attribute of at least 2 VSS
tasks, as &#10; and &#13; they do not work correctly.

vsscheckin works but the comment in VSS is truncated at first appearance of
either character.

        <vsscheckin localPath="${source-dir}"
                vsspath="/${dest-dir}/${source-file}"
                comment="Ant automated checkin: Build at ${TSTAMP} on
${TODAY}&#10;&#13;${comment}"
                ssdir="${vss-home}" 
                autoresponse="${autoresponse}" />

vsslabel hangs the Ant process. ss.exe runs but takes 100% CPU and must be
killed manually.

        <vsslabel vsspath="/${dest-dir}"
                label="${label}"
                comment="Ant automated label: Build at ${TSTAMP} on 
${TODAY}&#10;&#13;${comment}"
                ssdir="${vss-home}" 
                autoresponse="${autoresponse}" />

This bug was not present in 1.4.1 (only other version tested).

Workaround: use the classes for the VSS taskdefs from that 1.4.1 distribution
optional.jar

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to