On Mac OS X, an application bundle is a directory that has a name ending in .app and that contains the resources used by the application. This game is an example that constructs the bundle in situ using an ant build script. Additional references are cited here.