Re: .Nib files and CVS - need advice
Re: .Nib files and CVS - need advice
- Subject: Re: .Nib files and CVS - need advice
- From: Dave Hersey <email@hidden>
- Date: Tue, 28 Sep 2004 15:42:30 -0400
There are three problems with nibs and cvs that I think Daniel is referring
to. (I just had to deal with this myself):
1. xCode doesn't support SCM for nibs, so you need to use the terminal for
at least those files. I'm really surprised that this is the case, but...
2. InterfaceBuilder always recreates the backup nibs (xxx~.nib) when you
save a nib, so ater saving, there will be no cvs info inside the xxx~.nib.
That causes problems with commits unless you use a cvsignore file.
3. At least two of the files inside a nib need to be treated as binary, so
you need to use cvswrappers.
My repository's CVSROOT's cvsignore has:
build
.DS*
*~.nib
So it ignores build directories, desktop files, and backup nibs,
And then my repository's cvswrappers has
* -k 'b'
...so it treats all .nib files as binary. But, as I understand it, you
really only need to do that with:
objects.nib -k 'b'
keyedobjects.nib -k 'b'
- Dave
On 9/28/04 1:18 PM, "Olivier Tristan" <email@hidden> wrote:
> Daniel Morrow wrote:
>
>> I poked around on the Apple dev site to look for info about using
>> Xcode with CVS, and how to deal with .nib files, and it got into this
>> discussion about "cvswrappers" and things that my CVS administrator
>> needs to change, etc.
>>
>> Is this the only way to handle this? I'm using Xcode 1.5, btw on MacOS
>> X 10.3
>>
>> Couldn't I just add the .nib files as Binaries? Would the built-in
>> support for CVS still work?
>>
>> Thanks for any advice. I'm a brand new XCode user, and working on my
>> first Cocoa project after working in Carbon/Metrowerks for many years.
>>
> nib are directory with files inside jsu like xcode projects
> just add the directory and each file inside
>
> Use the term to see the content of the nib directory.
>
> Hope this helps
>
_______________________________________________
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