[Anthill] CVS Repository Adapater Question
Baldry, Scot M
Scot.Baldry at gs.com
Mon Jul 12 13:07:44 CDT 2004
Hi,
I've recently upgraded to CVS 1.12.9 from 1.11.x and I've noticed that my
builds now fail. The failure can be seen in the CVSRepositoryAdapter class
relating to the parsing of dates. Looking at the CVS change log
(www.cvshome.org) it looks like 1.12.x changed the date seperator from '/'
in 1.11.x to '-' in 1.12.x. The stack trace is shown below:
java.text.ParseException: Unparseable date: "2004-07-12 14:10:18"
at java.text.DateFormat.parse(DateFormat.java:334)
at
com.urbancode.anthill.adapter.CVSRepositoryAdapter.parseLogCommandResultRevi
sionBlock(CVSRepositoryAdapter
.java:346)
at
com.urbancode.anthill.adapter.CVSRepositoryAdapter.parseLogCommandResultFile
Block(CVSRepositoryAdapter.jav
a:269)
at
com.urbancode.anthill.adapter.CVSRepositoryAdapter.parseLogCommandResult(CVS
RepositoryAdapter.java:215)
at
com.urbancode.anthill.adapter.CVSRepositoryAdapter.getRevisionsSince(CVSRepo
sitoryAdapter.java:179)
at
com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:256)
at com.urbancode.anthill.BuildManager.build(BuildManager.java:202)
at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:146)
at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
Has anyone ever seen this problem? Is anyone successfully using CVS 1.12.x
with AntHill? I think this is easy to fix since you can safely parse for
both '/' and '-' characters in dates which of course would be backwards
compatible with 1.12.x of CVS.
Thanks
Scot
More information about the Anthill
mailing list