• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What to put in CVS ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What to put in CVS ?


  • Subject: Re: What to put in CVS ?
  • From: James Housley <email@hidden>
  • Date: Wed, 16 Mar 2005 08:09:24 -0500

Kevin Ballard wrote:
First off, let me say that Subversion is better than CVS, so if you can possibly use it, you should.

Ok, now on to your question.

Most everything in there is necessary. In the list you provided, only simonstrandgaard.mode1 and simonstrandgaard.pbxuser are unnecessary - these are basically the user preferences and layout for the project. If you delete them and re-open the project you'll simply get the default layout. They also change every time you do anything to the project, including expanding or collapsing groups in the file tree, so I suggest leaving them out of CVS - you don't need version control on them, and it could get quite annoying to commit changes to them for every single commit you do. Additionally, anybody else who uses the project won't benefit from them since they'll have their own files.

Once you start actually doing stuff with this project you'll create the dirs MainMenu~.nib and build. These dirs do not need to go into CVS - build is the folder containing all the built items in the project, along with an index of the project's symbols and other such information. MainMenu~.nib is simply a backup of MainMenu.nib, made by InterfaceBuilder so you can recover from any errors that happen while editing MainMenu.nib.

I will point out that I don't know what that version.plist file is, so I can't actually say if you need to put it in CVS or not. It's not a file created by default for projects, however, I have seen it in applications and frameworks and such, so I'm wondering if it's a file that Project Builder used to create.

HTH,
Kevin Ballard

On Mar 16, 2005, at 7:35 AM, Simon Strandgaard wrote:

In a typical xcode project there is a number of files.
I wonder which of them I can leave out from CVS?

My project hierarchy looks like this:

English.lproj/
  MainMenu.nib/
    classes.nib
    info.nib
    objects.nib
  InfoPlist.strings
mac_aeditor.xcode/
  project.pbxproj
  simonstrandgaard.mode1
  simonstrandgaard.pbxuser
Info.plist
version.plist


You will also want to make sure you specify the nib files are in text archive format in Interface Builder.


Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
email@hidden      http://www.FreeBSD.org     The Power to Serve
email@hidden  http://www.TheHousleys.net
---------------------------------------------------------------------
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's windows.
    -- Luiz de Barros

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What to put in CVS ?
      • From: Simon Strandgaard <email@hidden>
References: 
 >What to put in CVS ? (From: Simon Strandgaard <email@hidden>)
 >Re: What to put in CVS ? (From: Kevin Ballard <email@hidden>)

  • Prev by Date: returnCode from beginSheetModalForWindow is incorrect?
  • Next by Date: Re: Cocoa Newbie book suggestions?
  • Previous by thread: Re: What to put in CVS ?
  • Next by thread: Re: What to put in CVS ?
  • Index(es):
    • Date
    • Thread