Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > CVS - Adding Files

CVS - Adding Files
Thread Tools
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Dec 21, 2003, 06:57 PM
 
I'm trying to learn CVS and using Xcode. So far I:

1. created an Xcode project
2. imported the project to the CVS repository
3. did a checkout on the project
4. opened the project from Xcode

After that, my next experiment was to create a new class i.e., test.m and test.h. I was pleased to see that that the SCM smart group picked up the new files and indicated the correct state.

1. I then added & committed the new files to the repository
2. Closed Xcode
3. Put the project folder in the trash
4. I then checked out a fresh copy of the project.
5. I inspected the project folder from the Finder and see the test.h and test.m files. Great! So far, so good!

However, when I open the project from within Xcode, it does not load up the files into the project. Meaning that I don't see them under Groups & Files. This stumped me, since I was carefull to add and commit changes to the repository. What am I missing here?

Thanks in advance!
     
Addicted to MacNN
Join Date: May 2001
Location: Cupertino, CA
Status: Offline
Reply With Quote
Dec 21, 2003, 07:24 PM
 
1. I then added & committed the new files to the repository
Did you commit the updated project.xcode file as well?
     
DaGuy  (op)
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Dec 21, 2003, 08:44 PM
 
Originally posted by itai195:
Did you commit the updated project.xcode file as well?
Thanks for the reply. I wasn't presented with the option of committing the project .xcode. Maybe I messed something up somewhere. The SCM smart group only displayed the newly created classes. That's why is a bit confusing, had I seen the project.xcode in the SCM smart group then I would've also committed it to the repository. Not sure what to make of this? Some corruption somewhere? A bug?
     
DaGuy  (op)
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Dec 21, 2003, 10:34 PM
 
I tried it again this time I created test2.h and test2.m. The SCM smart group picked up test2.m and project.xcode but it did not pick up the test2.h. I added a comment to test2.h and then saved it, and that's when SCM finally picked it up. This whole experience has been kind of quirky. Is this normal behavior?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:34 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2