I have a little mystery, maybe it will ring a bell for someone.
I'm using an admittedly old (v8.2) version of Codewarrior. I've created
an application, named, say, MyProgram. It's a carbonized application, a
plain application (not a bundle, etc.), though it does have a plist
resource. It has a separate resource fork, a type and a creator, etc.
Sometimes when I'm in Codewarrior and build the application, the
application it creates is created with a generic DOCUMENT icon...not
only does it NOT have the icon it's supposed to have, but it doesn't
even appear as an application, but rather as a document.
If I select the icon, and duplicate it (command-D) from the Finder, the
duplicated icon is correct...it's a properly double-clickable
application with the intended icon. Why is this?
(And, by the way, in a similar mystery, if I stuff (using StuffIt
DropStuff) this application with the proper icon, and then un-stuff it,
the un-stuffed file may yet again revert back to a generic document
icon...but it too, if duplicated, becomes correct again.)
Anyone have a clue what I've (apparently) forgotten to do? It's like
there's a flag that I should have set that says "this file is an
application" and I forgot to set it? When duplicated the file icon
corrects itself, but I'd still like to figure out this mystery.
THANKS!


|