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: Sun, 26 Jun 2005 10:13:02 -0700
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:
This email sent to email@hidden