OS-X native installers and "Apple menu" support module

Tim Boudreau <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Hi, all,

I just checked some stuff into contrib that may be of
interest to os-x users.  There are two things:


- An ant script that will build a native apple .pkg
installer for NetBeans.  It also does some rearranging
of the installation structure to match a standard OS-X
.app package and munges runide.sh to find it, then
packages it up into an installer package and generates
a disk image of it.

There are also some targets for generating application
tarballs, etc.  Should be applicable to any app based
on NetBeans (probably with only build.properties changes):

http://contrib.netbeans.org/osx-native-installer/readme.html
(source in contrib/osx-native-installer)

(You probably need some BSD/NeXT command line utils to build
it on a non OS-X machine)


- A trivial module which makes NetBeans interact properly
with the "Apple menu" - it hides the following actions:
Help | About, Tools | Options and File | Exit, and rewires
them to be invoked from their standard homes in the Apple
menu.  This has the nice side effect that pressing Meta-Q
no longer brutally kills NetBeans' process.

It's in contrib/osx-native-installer/applemenu - you need
either OSX or Apple's stub library for compiling against their
extensions on non-Apple machines.


Also just checked in some toolbar ui enhancements.

Enjoy,

Tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.