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

stcheckout should handle a convertCRLF flag

           Summary: stcheckout should handle a convertCRLF flag
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The stcheckout optional task should be able to checkout files without messing 
with the eol characters.

When you use this task to checkout Unix files onto an NT system, say, all of 
the files are in DOS format.  The fixcrlf task doesn't help me in this 
situation because some of my files are in binary format.

I looked in the StarTeamCheckout class and in StarTeam's API and I think all 
you have to do is something like ,...

add:
    private boolean convertCRLF = true;

    public void setConvertCRLF(boolean value) {
        this.convertCRLF = value;
    }

change line 533 (in 1.5.3 source) to:
                 !this.useRepositoryTimeStamp, this.convertCRLF, true);

Reply via email to