Sample Mac Jar Bundler Ant build script

I was going to write a little tutorial on how to use the Jar Bundler Ant task for Mac OS X, but I don't have the time to do that right now.

So, I'll just share my Mac OS X Java Ant build script, which includes the JarBundler task. You should be able to use this Ant build script to build a Java application so it appears to the user to be a native Mac OS X application, even though it's really a Java application under the covers.

AppleScript error: Can't make (handler) into type string

If you ever get the following error message in an AppleScript program (at least while editing the program in the ScriptEditor):

Can't make (handler) into type string

fear not, it seems to be pretty simple to cure. In my case I got this more-specific error message:

Can't make (handler getDayOfWeek) into type string

This error just means that I tried to call a function like this:

Create Mac "icns" icon files with Icon Composer

If you need to create icons for an application on a Mac OS X system, Apple provides a small application named "Icon Composer". If you have the Xcode tools installed, this application is in the /Developer/Applications/Utilites/Icon Composer folder on your system. (Choose Macintosh HD, then Developer, Applications, Utilities, and then the Icon Composer application.) More to the point, this utility program helps you create icons in Apple's "icns" format from icon images in other formats.

Mac ISO burn tip - How to burn an ISO image to a CD on Mac OS X

Mac ISO burning FAQ: How do I burn an ISO image on Mac OS X?

It seems like lately all I'm doing is burning stuff to a CD or DVD on my Mac OS X system, first backups, and now I'm burning ISO images.

If you've never burned an ISO image to a CD or DVD on a Mac before, it's pretty easy. Here's how I just burned a Fedora ISO image on my MacBook Pro, which is a Mac OS X 10.4.10 system.

Mac OS X Finder keyboard shortcuts

Mac OS X Finder FAQ: What keyboard shortcuts can I use with the Mac OS X Finder?

Mac OS X Finder keyboard shortcuts (keystrokes)

Wow, once I learned a few Mac OS X Finder keyboard shortcuts, I like the Finder much more. It was freaking me out that the [Enter] key doesn't actually open a file or directory, it just lets you change the name. The keystrokes are much different than Windows, and it takes a while to get used to them. But once you start using them they're easy to remember.

Syndicate content