On May 28, 2006, at 3:52 PM, Craig Hoyt wrote:

I have two issues regarding packages or bundles. When crawling a volumes directory the <.Directory=True> reports a package or bundle as a folder (and rightly so). How can I identify all forms of packages and bundles so I can skip over examining their contents and just accept the item as a file as the Finder does?

Most bundles have the file MyBundle.extension/Contents/Info.plist, but this doesn't appear to always be the case (GarageBand projects don't have it), so I'm not sure.

On the flip side... how does one create such a package or bundle? Is it just create a folder and set some attributes to it?

Create the folder, give it an extension, and give it the following subdirectory structure:

MyBundle.extension
        - Contents
                - Info.plist
                - other stuff goes here

Fill in Info.plist appropriately. Look around your machine or google for examples.

That *should* do it.

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to