Tom Whipple

Archive for October, 2008

Fire season again

Wednesday, October 22nd, 2008

This year the fires are hitting a little closer to home. (Fortunately, everything seems to be OK so far.) A couple weeks ago there was a fire in the Ventura River bottom. Today, a more serious fire started on the edge of town and moved up into the hills. The entire hillside burned, but by the time I saw it, it was just a black hill with a bit of smoke coming off. It must have gone over the ridge, since helicopters were dropping water there. (I can still hear them as I write this.) But there wasn’t much smoke coming from the area. It looks like the wind has died for the evening, so I would be suprised if it flares up again.

But, it looks like a bigger fire must have started up the coast twards Santa Barbra, because there is a lot of smoke blowing out to sea from much farther west.

I took a picture of the sunset and smoke with my iPhone, but can’t seem to get it off the phone without a lot of extra hassle. (Apple has been a big disappointment lately, but that’s another story.)

Other relevant links.

Configuring CVS for Apple’s XCode projects

Saturday, October 11th, 2008

Apple ostensibly has integrated CVS & SVN as version control into XCode. But in XCode 3.1.1 the CVS integration is very poor. The problem seems to be the project/build directory where XCode keeps binaries. This directory appears to be generated from all the other files, so the solution seems to be to leave it out of CVS.

These steps seem to work:

  1. Make sure the repository is set up. (See Apple’s instructions or better yet, the CVS manual) This includes defining the repository under SCM in XCode.
  2. Create the project in a temporary directory as normal in XCode.
  3. Go to SCM>Configure SCM for this project. Choose your repository and click OK.
  4. Go to Build>Clean All Targets.
  5. Close the project window.
  6. Go to the project directory in the Finder and delete the contents of the “build” directory.
  7. In XCode, go to SCM>Repositories tool.
  8. Click “Import” and import the temporary project directory into CVS.
  9. Click “Checkout” and choose the directory where you will do your work. (This is NOT the temporary project directory you created in step 2.)
  10. XCode will ask you if you want to open the project when it is done with the checkout. If the checkout directory structure looks good, you should delete the temporary directory.

NOTE: If some subset of the builds directory shows up under the SCM tool on the left of the project tab, go to SCM>Refresh Entire Project BEFORE the build directory gets commited.
NOTE 2: If the build directory gets commited by mistake, delete it from the repository, the local directory structure, and the corresponding entry in the projectdir/CVS/Entries file.

mail@tomwhipple.com
612-220-1465