[nbusers] Re: OSX Dock Icon

  • From: Benno Markiewicz < >
  • To:
  • Subject: [nbusers] Re: OSX Dock Icon
  • Date: Tue, 30 Oct 2012 23:54:23 +0100

Cool. Thank you for your effort. Please fill an issue and attach your solution. This way I am sure it will be solved in 7.3

Greetings, markiewb

Am 30.10.2012 23:40 schrieb "nleco" < "> >:
I think I found the issue. seems that the Netbeans app contents script used to launch this app is not setting the X-dock icon correctly. or, the icon file is not placed in the right location. notice this code in the startup script&#058;
"/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/NetBeans/bin/netbeans"


Code:

case "`uname`" in
    Darwin*)
        eval launchNbexec \
            --jdkhome '"$netbeans_jdkhome"' \
            -J-Dcom.apple.mrj.application.apple.menu.about.name=NetBeans \
            -J-Xdock:name=NetBeans \
            '"-J-Xdock:icon=[b]$progdir/../nb/netbeans.icns"[/b]' \
            --branding nb \
            --clusters '"$netbeans_clusters"' \
            -J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \
            -J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense \
            ${netbeans_default_options} \
            '"$@"'
        ;;
    *)
        eval launchNbexec \
            --jdkhome '"$netbeans_jdkhome"' \
            --branding nb \
            --clusters '"$netbeans_clusters"' \
            -J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \
            -J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense \
            ${netbeans_default_options} \
            '"$@"'
        ;;
esac




however, the image is not in that location. it is located in:
"/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/netbeans.icns"

I copied that image over to:
"/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/nb/" and it now works correctly.

i got this info via http://alvinalexander.com/apple/mac/java-mac-native-look/dock_icon.shtml

maybe this should be changed in netbeans? hope it helps someone out. it was bugging me.






[nbusers] iOS Dock Icon

nleco 10/24/2012

[nbusers] iOS Dock Icon

nleco 10/25/2012

[nbusers] iOS Dock Icon

nleco 10/27/2012

[nbusers] Re: iOS Dock Icon

Edson Richter 10/28/2012

[nbusers] iOS Dock Icon

nleco 10/28/2012

[nbusers] OSX Dock Icon

nleco 10/30/2012

[nbusers] Re: OSX Dock Icon

Benno Markiewicz 10/30/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close