From: Neil C Smith <[email protected]>
> Reminds me that those dock icon and name arguments are set in the launcher 
> already
> https://github.com/apache/netbeans/blob/master/harness/apisupport.harness/release/launchers/app.sh#L120
 >  Shows where it, by default, is looking for the icon.  Be good if the dock 
 > name could be set separately to ${APPNAME} there though.

The referenced shell script line is below:

'"-J-Xdock:icon=$progdir/../../$APPNAME.icns"'

In looking at the launcher shell script, it seems that $progdir is supposed to 
be the bin folder, where the launcher shell script is.  If that is the case, it 
does not seem that the above command from the shell script will work with the 
way the NetBeans Mac installer is making the program distribution.  
$APPNAME.icns is only one level above $progdir.  If you want to go two levels 
above $progdir, you would need to use icon.icns instead of $APPNAME.icns.  
icons.icns is just a symbolic link to $APPNAME.icns.

That is probably why the dock icon changes to a generic java icon when the 
program starts if the -J-Xdock:icon option is not used provide the explicit 
location of the icon, because the launcher can't find the dock icon specified 
internally.

I have included a screen shot of the file layout produced by the NetBeans Mac 
installer.  Ignore the PNG files...I copied those in there 
manually...everything else is as the NetBeans Mac installer created it.

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to