Re: [CVS] several developers on the same project
Re: [CVS] several developers on the same project
- Subject: Re: [CVS] several developers on the same project
- From: Aurélien Hugelé <email@hidden>
- Date: Tue, 16 Mar 2004 14:57:32 +0100
On 16 Mar 2004, at 10:46, j o a r wrote:
If you store the project file (wrapper) in CVS - as you of course
should - all users will see when a file is added to the project. The
files that are part of the project are not stored in the user.pbxproj
file, but in the global / shared project.pbxproj file, so any such
changes are shared between all users of the project.
of course i have done this, thanks for the explanation about
project.pbxproj, it is now clearer.
But, what you explain here does not seems to work :(
- i have added a little .txt file to the project *using XCode* (not the
Terminal cvs add command...)
- i commited using XCode
my collegue quit XCode, relaunch it and refresh CVS Status. we *see*
the new file name quickly appear for a second in the status bar, but it
does not appear in its project, nor is it copied on its computer.
Second try : i decided to commit the project.pbxproj (since you
explained it is the shared file) using XCode.
again he quits and relaunch XCode and refresh CVS Status :
we now have a conflict on the project.pbxproj file !!! and we can't
resolve it AFAIK...
is it normal ?
do we need to commit the project.pbxproj file too each time we modify
something ?
CVS doesn't notify you when files have been added (or removed or
modified), you need to poll the CVS server for changes, just like when
you look for modifications to files.
If files are added / removed from the project you need to quit Xcode,
check out the modified project file and re-launch Xcode, before you
will see the changes.
do you mean i need to "cvs checkout myProject" to see changes ? so you
mean i MUST use the Terminalm not XCode ?
Note: I would not advice to just close the project before updating it
for changes (compared with my suggestion above to actually quit and
re-launch the Xcode), as Xcode stores an in-memory cache of the project
contents that IMO is not reliably cleared when a project is only closed
and re-opened.
The root of your problem seems to be that you have independent project
files. You need to find a way to avoid that. If you really do have such
different requirements on how to use the source files, you can probably
fix it by using either different targets, or in a worst case scenario,
inter-dependent project files (see the Xcode release notes).
j o a r
thanks for your help !
On 2004-03-16, at 10.11, Aurilien Hugeli wrote:
My company really needs a powerful SCM.
We already use CVS with few problems... the main problem is XCode :
each user has its own project architecture, so when he creates files
and add+commit it to the CVS server, he is the only one to see the
change !!!
how can we ALL work on the same .xcode project so that we all have the
same architecture, and are notified when somebody add/remove a file ?
is it even possible ? i've seen a .xcode/.pbproj is a bundle which
contains a "aUser.pbxproj" file for each user... can we force the
opening of a "common.pbxproj" ?
i've seen something with netInfo on Apple dev web site, but i'm not
even sure it concerns our problem
thanks a lot for help, this is now really reducing our productivity !
[demime 0.98b removed an attachment of type
application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.
_______________________________________________
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.