[Anthill] CVS Repository Adapater Question
Eric Minick
eric at urbancode.com
Mon Jul 12 14:32:02 CDT 2004
Scot,
Looking at the code, I think you're right about the cause. If you're
daring enough, you could download the source from CVS and change the
CVS_OUT_DATE date format in the code to the modern version, recompile
and you'll be set. Otherwise, this is a minor enough fix, I should be
able to get to it pretty quickly (it's logged in our bug tracker as
AnthillOS-228). We may want to do this next point release a little
earlier than planned to get this and the VSS improvements out.
Thanks for letting us know about this Scot.
Regards,
Eric
Baldry, Scot M wrote:
>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
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>
>
More information about the Anthill
mailing list