Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!rekieta From: rekieta@Apple.COM (Paul Rekieta) Newsgroups: comp.sys.mac.programmer Subject: Re: Compiling with MPW Projector - Is this obvious?? Keywords: MPW Projector compile Message-ID: <339@internal.Apple.COM> Date: 19 Dec 88 20:45:24 GMT References: <1988Dec2.144635.22373@mntgfx.mentor.com> <21917@apple.Apple.COM> <33627@bbn.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 36 In article <33627@bbn.COM> lpringle@labs-n.bbn.com (Lewis G. Pringle) writes: >In article <21917@apple.Apple.COM> han@Apple.COM (Byron Han, Architect) writes: >>You could use something like this below (modification will be necessary) >>to "compile a project". >> >>checkout D6Files >>Make >> > >Hopefully there is a better way than this. I haven't (yet) gotten my 3.0MPW >yet, so I haven't read the manual, but I bet you can do something with >implicit rules in your makefile to check out individual files from Projector >before compiling them - not doing so I you already have the file checked out >(cuz your modifying it). > I think the unclear thing with Projector is that you actually maintain your current source code structure so that compiles take place just as they do today without Projector. The difference is that after compiling and testing your code (or code fragment), you "check in" that source file into the Projector data base, which still leaves a read-only version of the file on your disk, in the same directory. When I started looking at Projector, this was the most difficult concept to understand. After using it for a while, it becomes very automatic and non-intrusive. You can have scripts to handle checkin automatically, or you can do it interactively. The only time you have to explicitly check-out anything is if you want to go back to an earlier revision, or you are setting up a new disk and your Projector database is on a file server. Makefiles need not be changed. -- Paul Rekieta Internet: rekieta@Apple.COM Communications Products Group Applelink: REKIETA1 Apple Computer, Inc. Compuserve: 76304,2574 20525 Mariani Avenue, MS 27-Y Cupertino, CA 95014 408-974-2660