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 24569] - cvschangelog not adding prevrevision on all files
Date Thu, 09 Jun 2005 22:03:42 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=24569>.
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=24569





------- Additional Comments From rick_cromer@hotmail.com  2005-06-10 00:03 -------
My build environment to duplicate this doesn't exist anymore.  When I tried to 
set it up again, I couldn't even get the CVSCHANGELOG task to work.  I traced 
down the ANT source code and found that it's expecting /'s in the date returned 
from CVS.  Our version of CVS is returning -'s in the date.

Ref: org.apache.tools.ant.taskdefs.cvslib.ChangeLogParser.java

    private static final SimpleDateFormat c_inputDate
        = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");

This causes an exception in parseDate(final String date).
----------------------------------------------------------------
Running cvs from the command line here's a sample output

c:\>  cvs log -d ">=2005-02-27" .cvsignore

revision 1.8
date: 2005-04-21 19:54:29 +0000;  author: rcromer;  state: Exp;  lines: +1 -0
Removing *.gid help file from repository, it get created when Help is run.
----------------------------

I ran it with cvs versions:

Concurrent Versions System (CVS) 1.11.5 (client)
and
Concurrent Versions System (CVSNT) 2.0.51d (client/server)

with the same results.

I suspect that the format was determined based on the server version of CVS.  
Our cvs repository is running a Linux server.

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