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 40946] - stcheckout ignores convertEOL when used with "asofdate"
Date Fri, 13 Jul 2007 17:51:04 GMT
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=40946>.
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=40946





------- Additional Comments From eric.smith@mckesson.com  2007-07-13 10:51 -------
Hello.  I wanted to report hitting a similar problem which is caused by the 
same bug in StarTeamCheckout.java.  Again stcheckout ignores convertEOL but in 
this case when used with "label" to check out items associated with a specific 
revision label.
It happens under ANT 1.7.0 using starteam80.jar (STARTEAM 2005 release 2).
The starteam SDK doc for checkoutByLabelID, 
http://info.borland.com/techpubs/starteam/2005R2/EN_SDK/api/com/starbase/starte
am/File.html#checkoutByLabelID(java.io.File,%20int,%20int,%20boolean,%
20boolean,%20boolean), shows that the 5th argument is eol:
public boolean checkoutByLabelID(java.io.File checkoutTo,
                                 int labelID,
                                 int lockStatus,
                                 boolean timeStampNow,
                                 boolean eol,
                                 boolean updateStatus)
                          throws java.io.IOException

As originally reported in this bug the eol arg has been hardcoded to true in 
\apache-ant-1.7.0
\src\main\org\apache\tools\ant\taskdefs\optional\starteam\StarTeamCheckout.java
; it looks like it should be using this.convertEOL as is already being done by 
the checkout call in the same code:
eachFile.checkout(this.lockStatus,!this.useRepositoryTimeStamp, 
this.convertEOL, false);



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message