Re: CVS and resource files
Re: CVS and resource files
- Subject: Re: CVS and resource files
- From: "Philippe Casgrain" <email@hidden>
- Date: Tue, 4 Jul 2006 10:07:10 -0400
- Thread-topic: CVS and resource files
This is not really an Xcode question, but a CVS question.
That being said... CVS doesn't know anything about resource forks. So
all .rsrc, .ppob... files are not imported correctly.
You can switch your resource fork resources to data fork resources, but
then your resource-loading code may need some changes.
MacCVS can encode resource forks (as AppleDouble or Binhex), but this
will fail if you use the command-line cvs client (which is what Xcode is
using).
The solution we used is to DeRez all the resources to .r files (which
are text, which is great for CVS) and put those .r files in our
projects. Then, at build time, Xcode does the conversion (Rez-ing) from
.r to .rsrc.
Philippe
-----Original Message-----
From: xcode-users-bounces+philippe.casgrain=email@hidden
[mailto:xcode-users-bounces+philippe.casgrain=email@hidden]
On Behalf Of Jeff Birac
Sent: Saturday, July 01, 2006 4:59 PM
To: email@hidden
Subject: (no subject)
I have set up a CVS server. but my Xcode project (CW PowerPlant
migration) is not being imported properly. The project's resource files
(.rsrc, .ppob, etc.) lose all of their content. They are "imported"
into the CVS repository, but they are just the files'
directory entries. The actual files (stored in the repository) contain
zero data! As expected, the resource files are also empty when I
checkout the project into my working directory.
What is CVS's problem with resource files? Does CVS discard a file's
"resource fork"? Am I missing a command option or environment variable?
Please help.
Thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
orel.com
This email sent to email@hidden
--
This message has been scanned for viruses and dangerous content and is
believed to be clean.
_______________________________________________
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