Fun with CVS

I found out something interesting about CVS.  It doesn’t seem to have any case sensitivity in filenames.  Normally this isn’t too much of an issue, but it became one in CBViewer.  Since I have been rewriting the code I renamed a bunch of the files in order to keep them consistent and not have a bunch of mismatched files sitting around.  Unfortunately CVS seems to keep the case that the filename was in when it was checked in to the system.  In java this creates a problem because it looks for a file with the correct case to get the class inside it.  I ended up creating a new package directory for the rewrite code, something I had been meaning to do for a while and ended up moving the properly cased files into that directory.  I just checked out the code on my new machine and it compiles perfectly.  Disaster averted, for now…

Leave a Reply

You must be logged in to post a comment.