Re: Xcode Project Files in CVS?
Re: Xcode Project Files in CVS?
- Subject: Re: Xcode Project Files in CVS?
- From: Michael Rawdon <email@hidden>
- Date: Fri, 6 Aug 2004 13:23:25 -0700
Hi Robin -
On Aug 6, 2004, at 8:22 AM, Robin Mair wrote:
> What is the correct way for dealing with checking an Xcode project
> file [.xcode] into CVS?
>
> Because it is a directory it is not treated as a single file. There is
> some verbiage in documentation about dealing with this issue but it is
> not very explicit, in particular with respect to correctly setting up
> and placing the 'cvswrapper' file.
Typically .xcode files are not wrapped when checked into CVS; just
check it in as a directory like any other directory, and treat the
files inside like any other text files.
The key file to check in is the project.pbxproj file; that's where the
bulk of the project's structure is stories.
The username.pbxuser files contain a variety of per-project per-user
info, including your executables and many of the settings in the
project inspector. Many people treat this file differently with
respect to CVS. I personally check mine in because that works best for
my workflow. Many other developers do not, because that works best for
their workflow.
The other thing to be aware of is that if you do a 'cvs update' of the
project or user files, and there are update conflicts (for which cvs
puts <<< >>> lines into the file around the conflicting lines), then
Xcode will not be able to open the file until you go in and resolve the
conflicts. You can either do this manually (if you have familiarized
yourself with the project file structure and feel comfortable doing
so), or you can remove the conflicted file, perform another update, and
then open the project in Xcode and restore any changes you'd made.
Hope this helps!
--
Michael Rawdon Apple Computer, Cupertino CA
Xcode Developer email@hidden
Friends: People who know you well, but like you anyway.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.