Er... I replied promptly. But GMail config settings gave me problems. Resending.

Q: Does "INSTALL_PATH/Content/

Resources/acorn.icns"?
A: Yes.

Q: "CFBundleIconFile" well-defined?
A: Yes.

But... that was exactly the clue I needed. There is something wrong with
acorn.icns. I could tell right away that I could not preview the icns file
in Finder. Normally this should be possible.

I downloaded it directly from the git repo:
http://sourceforge.net/p/squirrel-sql/git/ci/aa1b53077535b6e2fc640a02481ec8b1d1dd1491/tree/sql12/installer/squirrelsql-macosx-installer/src/main/resources/acorn.icns

Then I replaced the old icon with the new one. You can see the extreme file
size difference. Things immediately started working correctly. Hmm...
hi-res acorn goodness.

It seems that I had installed from an
old squirrel-sql-3.2.0-MacOSX-install.jar that I had handy. Then I upgraded
in place. So... I think we can safely assume it was an old problem. Nothing
to worry about.

I guess you could add a conceivable enhancement request to include the
icons in the bits that get upgraded. But I doubt that makes it into the top
100 things you might add next.

FYI, here's the good vs bad files:
ls -l /Applications/SQuirreLSQL_3.2.app/Contents/Resources/
total 960
drwxr-xr-x  10 mdahlman  staff     340 Mar 26 20:21 Java
-rw-r--r--@  1 mdahlman  staff  385339 Mar 27 22:10 acorn.icns
-rw-r--r--   1 mdahlman  staff  100175 Nov 21  2010 acorn_original(bad).icns

Thanks a lot,
Matt


On Tue, Mar 26, 2013 at 8:20 AM, Robert Manning <robert.m.manning@gmail.com> wrote:
Matt,

From the command-line, does this file exist ?

INSTALL_PATH/Content/Resources/acorn.icns

And in INSTALL_PATH/Contents/Info.plist, is "acorn.icns" listed as the value for : "CFBundleIconFile" ?

If the answer is yes to both of those questions, my guess is that maybe Apple made a backward-incompatible change to the Info.plist file format.  I don't have 10.7, so I can't verify that is the case.  Maybe looking through their dev documentation for Info.plist would yield an answer.

Rob

On Tue, Mar 26, 2013 at 6:16 AM, Matthew Dahlman <mdahlman@jaspersoft.com> wrote:
I just installed SQuirreL SQL on a clean Mac (OS X 10.7 (Lion)). I don't get an icon like I used to have. I just have a default application icon. Bummer.

Is this somehow user error? Are other folks experiencing the same thing? I see that this happened and got fixed a couple of years ago. Regression?

Does anyone know how to manually add an icon? (I suppose I could probably google that up myself... but I don't know where to grab the SQuirreL SQL icon to get started.) Thanks for any tips.

-Matt

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users





--
Winner, InfoWorld Technology of the Year. See Why >