Victor Ng's Radio Weblog : armed with cocoa, an ibook and too much spare time
Updated: 4/4/03; 12:20:07 AM.

 

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


dotMac


Categories

Cocoa


Friends


Site Meter
 
 

Friday, November 1, 2002

Now here's something cool - "Making the case for PHP at Yahoo!" slideshow.

PHP is going to power all of Yahoo - now now, but incrementally all of it will be PHP.

Neato.
9:08:13 PM    


My frikking HP 6L died on me AGAIN.

Crap.

The last time it broke (about 6 months ago), it cost me $200 bucks to fix.

Luckily I have a spare HP1115 inkjet, but... damn!

Laser printers shouldn't break.

Anyway, went to buy an inkjet cartridge for the first time lastnight (hey - Liz was feeding candy to the rugrats that came to the door). Holy Geebus Batman! $120 for a color and a black cartridge?

On a different note - there were way too many teenagers at the door lastnight for the candy feeding frenzy. I hate those kids. They just stand there with bags open. no "trick or treat" - just annoyed looks of "give me candy faster you freak".

arrgh.... damn humanity. damn it all....

The annual pub crawl is tomorrow. Here's the schedule for those that want to stop by and have a dozen pints. :)

Time

Station

Bar

Location

11:30am

Spadina

-

Outside station east side, north of Bloor.

12-12:35

St. George

Regal Beagle

West of St. George, south side of Bloor.

12:50-1:25

Museum

Gabby’s

East of Avenue, north side of Bloor.

1:40-2:15

Queen’s Park

O’Grady’s

College and McCaul south/west corner.

2:30-3:05

St. Patrick

Hong Shing Restaurant

Dundas and Centre south/east corner.

3:20-3:55

Osgoode

The Rex

West of University, north side of Queen.

4:10-4:45

St. Andrew

Elephant and Castle

King and Simcoe, north/west corner.

5-5:35

Union

Commuter’s Lounge

Union Station lower level.

5:50-6:25

King

Irish Embassy

Yonge and Wellington (somewhere)

6:40-7:15

Queen

Baton Rouge

North of Queen, west side of Yonge

7:30-8:05

Dundas

Imperial Pub

Dundas and Victoria, north/east corner.

8:20-8:55

College

Booster’s in Days Inn

East of Yonge, north side of College.

9:10-9:45

Wellesley

Hernando’s Hideaway

Yonge and Wellesley, south/east corner.

10-10:35

Bloor

Burgundy’s Bar & Eatery

Yonge and Bloor, south/west corner.

?????

Mystery Location!!


4:13:12 PM    


For whatever reason, there doesn't seem to be a quickstart guide to getting CVS up and running with ProjectBuilder.

Apple's developer site has information on how to get CVS working from command line, but they miss out some ProjectBuilder details - mainly forgetting to set the cvswrappers file so that binary checkins on images and InterfaceBuilder NIB files get checked in properly.

So here's my little howto guide - I'll assume that you already have a simple project that is already created, but not checked into CVS yet.

First - you'll need to add your user to the 'wheel' user group.

For that- you'll need to play with NetInfo. Remember - OSX is more NextStep than BSD so the /etc/groups file won't do the trick for you.

You can find a description of how to navigate through NetInfo here.

The only real trick is to use the "Directory/Insert Value" menu to add a user to a group.

Next - setting up CVS as detailed in Apple's developer guide for CVS.

You'll need to do everything up to but not including "Creating your first project".

Before you go and checkin your project, you'll need to modify the cvswrappers file. Basically this tells CVS how to handle binary files - if you don't do this CVS will mishandle your NIB files as text data and your project will get pooched.

CocoaDev again has a snippet on settting up your cvswrappers file. You can find it here.

Just checkout CVSROOT, go into CVSROOT and copy the default cvswrappers file from /Developer/Tools/cvswrappers over the one in the checked out CVSROOT directory. Checkin with:

> cvs ci cvswrappers

Now you're ready to checkin your project.

Go back to the Apple CVS docs and import your project into CVS as described in "Creating Your First Project". It's important that you import your project from within your project directory!

After your project gets checked in, you'll need to check it out once, so go to the parent directory and checkout your project.

victorng@localhost:myproj> cd ..
victorng@localhost:~> cvs checkout myproj

That should be it.

From ProjectBuilder, you should be able to open your project and add files to the repository, commit changes and checkout.

Give yourself a pat on the back now.

Happy hacking everyone!
3:50:36 PM    


© Copyright 2003 Victor Ng.



Click here to visit the Radio UserLand website.

 


November 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Oct   Dec


AIM: vng1@mac.com
MSN: v2ng@hotmail.com
ICQ: 30390174

NetNewsWire: More news, less junk. Faster