alvin's blog

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.

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.

Debug Ant problems with diagnostics

I just had a problem using Ant on Mac OS X 10.4.x. As I was trying to get the jarbundler task to run, the jarbundler help text said to copy the jarbundler.jar file to the /Developer/Java/Ant/lib directory. Turns out this isn't right for my system, but I didn't know where Ant was getting its libraries from.

My exact error was:

taskdef class net.sourceforge.jarbundler.JarBundler cannot be found

Fortunately the following Ant command gave me all the output I needed, and much more:

Review of the Acer X191W monitor

I recently purchased an Acer X191W monitor, a flat-screen 19 inch monitor. While I have no complaints about the screen itself -- it's a very good picture -- the design of the stand is horrible. There is absolutely no flexibility at all in positioning the angle of the monitor. To get around this problem I currently have it resting on top of two books, with a deck of cards under the front portion of the monitor stand so it will tilt back to an angle that works well for me. I've never had a monitor that was this inflexible.

Syndicate content