home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / oop / macapp3 / 561 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.7 KB

  1. 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
  2. From: jwo@gallant.apple.com (Jamie Osborne)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: MacApp makefiles and OtherRsrcFiles
  5. Message-ID: <1993Jan21.181055.27020@gallant.apple.com>
  6. Date: 21 Jan 93 18:10:55 GMT
  7. References: <1993Jan20.202603.1138@udel.edu> <marshall-200193124922@hpsdr160.sdd.hp.com>
  8. Reply-To: jwo@apple.com
  9. Organization: Apple Computer, Inc.
  10. Lines: 48
  11.  
  12. marshall@sdd.hp.com (Marshall Clow) writes:
  13. I Had the same problems described below.  I had a file named XYZ.r and
  14. a file named XYZ.rsrc.  The two contained completely different stuff.
  15. Every once in a while everything in my XYZ.rsrc file would disappear.
  16. I discovered that when MABuild was rezzing my XYZ.r file, it rezzed it
  17. into a file called XYZ.rsrc, overwriting the resources I already had
  18. in that file.  It then deleted the rezzed resources, leaving me with
  19. an empty XYZ.rsrc file and a headache.
  20.  
  21. My solution was to give my XYZ.rsrc file a different name.
  22.  
  23. -J
  24.  
  25.  
  26. >In article <1993Jan20.202603.1138@udel.edu>, gray@tinman.asel.udel.edu
  27. >(John Gray) wrote:
  28. >> 
  29. >> Hello fellow netters:
  30. >> 
  31. >> MacApp makefiles have a variable in them called OtherRsrcFiles which 
  32. >> I understand is to list other Resource files that the app needs.
  33. >> So I thought the rsrc file created by ViewEdit would be an example of
  34. >> a file that should be listed there (ObjectMaster seems to think so too 
  35. >> because it lists the ViewEdit file under the variable when I have it 
  36. >> generate a makefile as well).  At any rate with the ViewEdit file 
  37. >> listed there, when the make gets to point of rezzing the thing it 
  38. >> seems truncate the ViewEdit file to zero bytes (good thing I am 
  39. >> religious about backups).  Anybody know whats going on here.  It 
  40. >> doesn't seem to do it all the time, but very often.
  41. >> 
  42.  
  43. >I also had this problem, and this is my "solution". I was building an
  44. >app called "XXY", and my resource file was named "XXY.rsrc". Every time
  45. >I did a complete build (from scratch) as well as every now and then
  46. >(i.e, no apparent pattern), my XXY.rsrc file became 0 bytes long. I changed
  47. >it's name to "XXY Views.rsrc", changed the makefile, and I have had no
  48. >further problems (so far).
  49.  
  50. >What I suspect is that somewhere, MABuild is making a temp file named
  51. >"{AppName}.rsrc".
  52.  
  53. >Of course, I could be just blowing smoke, and my success could just be
  54. >apparent. I don't know that this is true, I've just not had the time to
  55. >go and check what MABuild is doing. So far, however, it's worked for me.
  56.  
  57. >Marshall Clow
  58. >San Diego Printer Division      Hewlett Packard
  59. >Internet: marshall@sdd.hp.com   AppleLink: HP.Marshall    AOL: MClow
  60.