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

  1. Path: sparky!uunet!think.com!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com
  2. From: GILLAM.R@AppleLink.Apple.COM (Richard Gillam,GEIS)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: MacApp makefiles and Other
  5. Message-ID: <727630468.7582536@AppleLink.Apple.COM>
  6. Date: 21 Jan 93 15:05:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 29
  10.  
  11. John--
  12.  
  13. I can take a guess as to what your problem might be, having had similar
  14. experiences myself.
  15.  
  16. Is the views file you're looking to include named <YourAppName>.rsrc?  If it
  17. is, it will indeed be overwritten, as MABuild will use that filename as the
  18. name of the output from the Rez step, without looking to see if there's already
  19. a file there it should keep around.  You can probably modify your .r file to
  20. keep this from happening, but it's easier to just rename the .rsrc file.  I
  21. have two, a <MyAppName>Compiled.rsrc file that contins things such as icons
  22. that I create in ResEdit, and a <MyAppName>Views.rsrc file that contains view
  23. hierarchies and supporting resources as created in Ad Lib.  You might find this
  24. helpful.
  25.  
  26. If you haven't defined clashing names as I described above, I'm not sure what
  27. your problem might be.
  28.  
  29. One other thing I learned the hard way:  MABuild only uses OtherRsrcFiles to
  30. track dependencies.  If you actually want these files' resources to be compiled
  31. into your finished product, you have to add "include" lines to your .r file
  32. (and if you're using Projector and want it to track your .rsrc files, make sure
  33. to add "not ckid" to the end of the include lines).
  34.  
  35. Hope this helps,
  36.  
  37. Rich Gillam
  38. GE Information Services
  39.  
  40.