Packages
Klaus Major
klaus at major-k.de
Sun Dec 9 10:40:03 EST 2007
Hi Mark,
> It's definitely a pain for Rev programmers until a general and
> reliable isPackage() function or somesuch is available.
> I don't think any of the things discussed so far will give a
> definitive answer as to the packageness of a folder.
> Checking .suffixes will work, but the list of suffixes probably
> can't be exhaustive, the absence of a .DS_Store is not reliable (a
> package that has been a regular folder may well have one, a regular
> folder may not have one), and the presence of /Contents/PkgInfo or /
> Contents/Info.plist is also not guaranteed ( though the only
> packages I've seen so far without a pkgInfo or info.plist are .rtfd
> and .band ).
> Definitely a pain.
> Perhaps this should be an enhancement request in the qa centre?
Already in there: 5549
Reported by me who started this thread a long time ago ;-)
> Best,
>
> Mark
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list