home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!srvr1.engin.umich.edu!saimiri.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!apple!goofy!mumbo.apple.com!gallant.apple.com!jwo
- From: jwo@gallant.apple.com (Jamie Osborne)
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: Re: MacApp makefiles and OtherRsrcFiles
- Message-ID: <1993Jan21.181055.27020@gallant.apple.com>
- Date: 21 Jan 93 18:10:55 GMT
- References: <1993Jan20.202603.1138@udel.edu> <marshall-200193124922@hpsdr160.sdd.hp.com>
- Reply-To: jwo@apple.com
- Organization: Apple Computer, Inc.
- Lines: 48
-
- marshall@sdd.hp.com (Marshall Clow) writes:
- I Had the same problems described below. I had a file named XYZ.r and
- a file named XYZ.rsrc. The two contained completely different stuff.
- Every once in a while everything in my XYZ.rsrc file would disappear.
- I discovered that when MABuild was rezzing my XYZ.r file, it rezzed it
- into a file called XYZ.rsrc, overwriting the resources I already had
- in that file. It then deleted the rezzed resources, leaving me with
- an empty XYZ.rsrc file and a headache.
-
- My solution was to give my XYZ.rsrc file a different name.
-
- -J
-
-
- >In article <1993Jan20.202603.1138@udel.edu>, gray@tinman.asel.udel.edu
- >(John Gray) wrote:
- >>
- >> Hello fellow netters:
- >>
- >> MacApp makefiles have a variable in them called OtherRsrcFiles which
- >> I understand is to list other Resource files that the app needs.
- >> So I thought the rsrc file created by ViewEdit would be an example of
- >> a file that should be listed there (ObjectMaster seems to think so too
- >> because it lists the ViewEdit file under the variable when I have it
- >> generate a makefile as well). At any rate with the ViewEdit file
- >> listed there, when the make gets to point of rezzing the thing it
- >> seems truncate the ViewEdit file to zero bytes (good thing I am
- >> religious about backups). Anybody know whats going on here. It
- >> doesn't seem to do it all the time, but very often.
- >>
-
- >I also had this problem, and this is my "solution". I was building an
- >app called "XXY", and my resource file was named "XXY.rsrc". Every time
- >I did a complete build (from scratch) as well as every now and then
- >(i.e, no apparent pattern), my XXY.rsrc file became 0 bytes long. I changed
- >it's name to "XXY Views.rsrc", changed the makefile, and I have had no
- >further problems (so far).
-
- >What I suspect is that somewhere, MABuild is making a temp file named
- >"{AppName}.rsrc".
-
- >Of course, I could be just blowing smoke, and my success could just be
- >apparent. I don't know that this is true, I've just not had the time to
- >go and check what MABuild is doing. So far, however, it's worked for me.
-
- >Marshall Clow
- >San Diego Printer Division Hewlett Packard
- >Internet: marshall@sdd.hp.com AppleLink: HP.Marshall AOL: MClow
-