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 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.


Chris

_______________________________________________
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
References: 
 >Re: File copy into bundle strips resource fork (From: Matt Neuburg <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.