Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File copy into bundle strips resource fork



On Mon, 20 Jun 2005 20:51:25 +0100, Frederick Cheung <email@hidden> said:
>
>On 20 Jun 2005, at 20:24, Rune Lindman wrote:
>
>> It looks like Xcode is stripping resource fork of files copied into
>> the bundle. Is there a way to prevent that? A solution might be to
>> convert it to a datafork format but I don't know what tool to use
>> for that. This is not actually a resource file it is a QuickTime
>> Graphics importer.
>
>In the build tab of your target properties, you can enable the
>"preserve hfs data" setting. Data fork resources aren't anything
>magic, it's exactly the same content, just stored in the data fork of
>the file. You can for instance do
>cat myresourcefile/..namedfork/rsrc >mydatafile

And yet one of the great features of Tiger is that "cp" now copies resource
forks automatically, so what would Xcode be doing to subvert this feature,
and why? m.

-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.