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 Sun, 26 Jun 2005 11:37:24 -0700, Chris Espinosa <email@hidden> said:
>
>On Jun 26, 2005, at 10:13 AM, Matt Neuburg wrote:
>
>>> 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.
>
>Because cp used to unconditionally strip resource forks, and now
>unconditionally preserves them.  CpMac (the tool Xcode uses) gives a
>choice, and we've been told that developers like such choices,
>especially those that insulate you from changes in the underlying OS.

That's very helpful, thanks - 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.