This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182230

Summary: Add support for specifying .icns icon path as the property for the platform-based application
Product: apisupport Reporter: dlipin <dlipin>
Component: HarnessAssignee: dlipin <dlipin>
Status: RESOLVED FIXED    
Severity: normal CC: jglick
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 182232    
Attachments: patch

Description dlipin 2010-03-17 15:42:11 UTC
Created attachment 95317 [details]
patch

For now, ${app.icon} can be used to specify applications icon in .png/.gif format. That will be used as the icon for the application's main window.

When mac's .app infrastructure is created using "build-mac" target, default icon is used - ${harness.dir}/etc/applicationIcon.icns. There is no ability to specify path to the icon directly and developers have to override build-mac target completely. Please add support for specifying it via a property, proposed patch attached.
Comment 1 Jesse Glick 2010-03-17 16:33:28 UTC
I cannot even test Mac-specific patches, so you're on your own. If you do introduce a new property, please document it incl. "[since ...]" in apisupport.harness/release/README.
Comment 2 dlipin 2010-03-18 12:21:43 UTC
core-main#9ab12a305ec4
Comment 3 Quality Engineering 2010-03-19 05:13:07 UTC
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9ab12a305ec4
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #182230 Add support for specifying .icns icon path as the property for the platform-based application