Re: File copy into bundle strips resource fork
Re: File copy into bundle strips resource fork
- Subject: Re: File copy into bundle strips resource fork
- From: Matt Neuburg <email@hidden>
- Date: Mon, 27 Jun 2005 10:46:44 -0700
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:
This email sent to email@hidden